Skip to content

Commit

Permalink
chore: fix bug with nx set shas (#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Jun 8, 2023
1 parent b2a0ba4 commit fb20f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -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:
Expand Down

0 comments on commit fb20f4d

Please sign in to comment.