ci: Improve commit message lint

Improve the commit message check, by logging only the commit title, and
doing away with the extra spaces.
This commit is contained in:
Alex Pyrgiotis 2024-02-19 15:11:47 +02:00
parent 634523dac9
commit 96cf5d0b4b
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -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