Skip to content

Commit

Permalink
remove HEAD~
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici committed Mar 20, 2024
1 parent 4e99e10 commit 21003f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/yaml_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: yamlfmt config
- name: Check for changes after formatting
run: |
git diff HEAD~ --exit-code # Check for changes after formatting
git diff --exit-code # Check for changes after formatting
id: check_changes
- name: Add formatting changes, push
if: steps.check_changes.outputs == 0 # Check exit code of previous step (0 means no changes)
Expand Down

0 comments on commit 21003f6

Please sign in to comment.