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:
parent
b2a0ba40a4
commit
fb20f4d248
1 changed files with 1 additions and 1 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue