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 80d517a commit ec8ce6e
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 0 ]; then echo "Found bang commit (or error) - rebase required before merge"; exit 1; fi
if [ $? -ne 1 ]; then echo "Found bang commit (or error) - rebase required before merge"; exit 1; fi

0 comments on commit ec8ce6e

Please sign in to comment.