1
0
Fork 0

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

View file

@ -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