ci: Deny a plain "Closes: #123" message in the commit message
We need the full link so let's warn contributors about this instead of having reviewers pointing this out. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4013>
This commit is contained in:
parent
0210f955d2
commit
ed15460526
1 changed files with 2 additions and 0 deletions
|
@ -17,3 +17,5 @@ patterns:
|
|||
- regex: '^\S*\.[ch]:'
|
||||
message: Commit message subject prefix should not include .c, .h, etc.
|
||||
where: subject
|
||||
- regex: '^Closes:?\s*#[0-9]+'
|
||||
message: Closes instructions must be a full link
|
||||
|
|
Loading…
Reference in a new issue