Skip to content

Commit

Permalink
Fix command to determine the diff (#13832)
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored Aug 6, 2024
1 parent 3561469 commit c22e88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-dependabot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Check if NOTICE.txt has changed
id: check-notice-diff
run: |
if git diff --quiet NOTICE.txt; then
if git diff-index --quiet HEAD -- NOTICE.txt; then
echo "changed=false" >> "$GITHUB_OUTPUT"
else
echo "changed=true" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit c22e88f

Please sign in to comment.