2020-12-15 11:57:12 -05:00
|
|
|
patterns:
|
|
|
|
deny:
|
|
|
|
- regex: '^$CI_MERGE_REQUEST_PROJECT_URL/(-/)?merge_requests/$CI_MERGE_REQUEST_IID$'
|
|
|
|
message: Commit message must not contain a link to its own merge request
|
2020-12-15 12:02:51 -05:00
|
|
|
- regex: '^(st-|St)'
|
|
|
|
message: Commit message subject should not be prefixed with 'st-' or 'St', use 'st/' instead
|
|
|
|
where: subject
|
|
|
|
- regex: '^[^:]+: [a-z]'
|
|
|
|
message: "Commit message subject should be properly Capitalized. E.g. 'window: Marginalize extradicity'"
|
|
|
|
where: subject
|
|
|
|
- regex: '^\S*\.(js|c|h):'
|
|
|
|
message: Commit message subject prefix should not include .c, .h etc.
|
|
|
|
where: subject
|
2021-02-26 08:46:22 -05:00
|
|
|
- regex: '([^.]\.|[:,;])\s*$'
|
|
|
|
message: Commit message subject should not end with punctuation
|
|
|
|
where: subject
|