Skip to content

Commit

Permalink
fixup! ci: prevent accidental merge of fixup! commits
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed May 17, 2024
1 parent 331227d commit 82fb577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
run: |
git fetch origin
git status
git log main..HEAD
git --pretty=format:%s log main..HEAD | grep -ie '^fixup!' && exit 1 || true
git log origin/main..HEAD
git --pretty=format:%s log origin/main..HEAD | grep -ie '^fixup!' && exit 1 || true

0 comments on commit 82fb577

Please sign in to comment.