1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 08:37:34 +00:00

CI: Disallow spaces just before the separating colon in commit titles

This commit is contained in:
Idan Horowitz 2021-07-13 21:54:36 +03:00 committed by Linus Groh
parent 804d592303
commit f09e361eef
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ jobs:
uses: tim-actions/commit-message-checker-with-regex@v0.3.1
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
pattern: '^\S.*?: .+'
pattern: '^\S.*?\S: .+'
error: 'Missing category in commit title (if this is a fix up of a previous commit, it should be squashed)'
- name: Check first word of title for capitalization