diff --git a/.gitlab-ci/commit-rules.yml b/.gitlab-ci/commit-rules.yml index 9770f4515..5828f8ad5 100644 --- a/.gitlab-ci/commit-rules.yml +++ b/.gitlab-ci/commit-rules.yml @@ -11,3 +11,6 @@ patterns: - regex: '^\S*\.(js|c|h):' message: Commit message subject prefix should not include .c, .h etc. where: subject + - regex: '([^.]\.|[:,;])\s*$' + message: Commit message subject should not end with punctuation + where: subject