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 2d0539e commit be7f3b1
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 -zv "fixup!|squash!|drop!|edit!"
if [ $? -eq 1 ]; then echo "Found bang commit - rebase required before merge"; exit 1 fi
if [ $? -eq 1 ]; then echo "Found bang commit - rebase required before merge"; exit 1; fi

0 comments on commit be7f3b1

Please sign in to comment.