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 f451bf1 commit a0938d1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/check-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ jobs:
ref: ${{ github.ref }}
fetch-depth: 0
- name: Check for fixup! commits
run: |
git fetch origin
git status
git log origin/main..HEAD
git log origin/main..HEAD | grep -ie '^ fixup!' && exit 1 || true
run: git log origin/main..HEAD | grep -ie '^ fixup!' && exit 1 || true

0 comments on commit a0938d1

Please sign in to comment.