3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-17 19:17:45 +00:00

chore: fix bug with nx set shas (#1244)

This commit is contained in:
Tonye Jack 2023-06-08 06:56:26 -06:00 committed by GitHub
parent b2a0ba40a4
commit fb20f4d248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1258,7 +1258,7 @@ jobs:
main-branch-name: ${{ steps.branch-name.outputs.base_ref_branch }}
workflow-id: 'test.yml'
- name: Run changed-files with a custom base sha
if: github.event_name != 'push' && github.event.action != 'closed' && matrix.fetch-depth == 0
if: github.event_name != 'push' && github.event.action != 'closed' && matrix.fetch-depth == 0 && steps.last_successful_commit.outputs.base != steps.last_successful_commit.outputs.head
id: changed-files-custom-base-sha
uses: ./
with: