Skip to content

Commit

Permalink
do not ignore HEAD SHA when provided
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jun 5, 2024
1 parent bb1ae95 commit 0804f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-nock-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Validate HEAD SHA
if: ${{ fromJson(steps.pr_info.outputs.DATA).repo != github.repository }}
if: ${{ fromJson(steps.pr_info.outputs.DATA).repo != github.repository || inputs.head_sha }}
run: >
[[ "$EXPECTED" == "$ACTUAL" ]] || exit 1
env:
Expand Down

0 comments on commit 0804f7b

Please sign in to comment.