Skip to content

Commit

Permalink
ci: Improve commit message lint
Browse files Browse the repository at this point in the history
Improve the commit message check, by logging only the commit title, and
doing away with the extra spaces.
  • Loading branch information
apyrgio committed Feb 19, 2024
1 parent 01e2500 commit fd829e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
run: |
git fetch origin
git status
git log origin/main..HEAD | grep -ie '^ fixup\|^ wip' && exit 1 || true
git log --pretty=format:%s origin/main..HEAD | grep -ie '^fixup\|^wip' && exit 1 || true

0 comments on commit fd829e8

Please sign in to comment.