ci: Extend "closes" rule
Gitlab also recognizes variants like "close #123" or "Closed #123". Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4017>
This commit is contained in:
parent
a6207cd1d8
commit
90d36b8821
1 changed files with 1 additions and 1 deletions
|
@ -17,5 +17,5 @@ patterns:
|
||||||
- regex: '^\S*\.[ch]:'
|
- regex: '^\S*\.[ch]:'
|
||||||
message: Commit message subject prefix should not include .c, .h, etc.
|
message: Commit message subject prefix should not include .c, .h, etc.
|
||||||
where: subject
|
where: subject
|
||||||
- regex: '^Closes:?\s*#[0-9]+'
|
- regex: '^[Cc]lose[sd]?:?\s*#[0-9]+'
|
||||||
message: Closes instructions must be a full link
|
message: Closes instructions must be a full link
|
||||||
|
|
Loading…
Reference in a new issue