2020-12-13 02:57:00 +00: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
|
|
|
|
- regex: '^(meta-|Meta)'
|
|
|
|
message: Commit message subject should not be prefixed with 'meta-' or 'Meta'
|
|
|
|
where: subject
|
|
|
|
- regex: '^(clutter-|Clutter)'
|
|
|
|
message: Commit message subject should not be prefixed with 'clutter-' or 'Clutter', use 'clutter/' instead
|
|
|
|
where: subject
|
|
|
|
- regex: '^(cogl-|Cogl)'
|
|
|
|
message: Commit message subject should not be prefixed with 'cogl-' or 'Cogl', use 'cogl/' instead
|
|
|
|
where: subject
|
|
|
|
- regex: '^[^:]+: [a-z]'
|
|
|
|
message: "Commit message subject should be properly Capitalized. E.g. 'window: Marginalize extradicity'"
|
|
|
|
where: subject
|
|
|
|
- regex: '^\S*\.[ch]:'
|
|
|
|
message: Commit message subject prefix should not include .c, .h, etc.
|
|
|
|
where: subject
|
2024-09-10 14:12:23 +00:00
|
|
|
- regex: '^[Cc]lose[sd]?:?\s*#[0-9]+'
|
2024-09-09 01:07:08 +00:00
|
|
|
message: Closes instructions must be a full link
|
2024-09-10 14:53:42 +00:00
|
|
|
- regex: '^[Ff]ix(e[sd]?)?:?\s*(#[0-9]+|https://)'
|
|
|
|
message: \"Fixes\" should be used with commits, use \"Closes\" for issues
|