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/gnome-shell/-/merge_requests/3465>
This commit is contained in:

committed by
Marge Bot

parent
ab20a1b11a
commit
535959af4d
@ -12,3 +12,5 @@ patterns:
|
|||||||
- regex: '([^.]\.|[:,;])\s*$'
|
- regex: '([^.]\.|[:,;])\s*$'
|
||||||
message: Commit message subject should not end with punctuation
|
message: Commit message subject should not end with punctuation
|
||||||
where: subject
|
where: subject
|
||||||
|
- regex: '^Closes:?\s*#[0-9]+'
|
||||||
|
message: Closes instructions must be a full link
|
||||||
|
Reference in New Issue
Block a user