Skip to content

Commit

Permalink
fixup! chore(ci): lint for bang commits (fixup, squash, drop, edit)
Browse files Browse the repository at this point in the history
  • Loading branch information
Restioson committed Oct 28, 2024
1 parent ec8ce6e commit c1eaa95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ jobs:
- name: Disallow bang commits
run: |
git log --pretty=format:%s origin/main..HEAD | grep "fixup!|squash!|drop!|edit!"
if [ $? -ne 1 ]; then echo "Found bang commit (or error) - rebase required before merge"; exit 1; fi
if [ $? -eq 0 ]; then echo "Found bang commit (or error) - rebase required before merge"; exit 1; fi

0 comments on commit c1eaa95

Please sign in to comment.