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:
Peter Hutterer 2024-09-09 11:07:08 +10:00 committed by Marge Bot
parent ab20a1b11a
commit 535959af4d

View File

@ -12,3 +12,5 @@ patterns:
- regex: '([^.]\.|[:,;])\s*$'
message: Commit message subject should not end with punctuation
where: subject
- regex: '^Closes:?\s*#[0-9]+'
message: Closes instructions must be a full link