1
0
Fork 0

ci: Restrict use of "Fixes #123"

Our convention is to use "Fixes" lines for references commits
(like belated "fixups") and use "closes" for issues.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4017>
This commit is contained in:
Florian Müllner 2024-09-10 16:53:42 +02:00
parent 90d36b8821
commit 519ec32ac8

View file

@ -19,3 +19,5 @@ patterns:
where: subject where: subject
- regex: '^[Cc]lose[sd]?:?\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
- regex: '^[Ff]ix(e[sd]?)?:?\s*(#[0-9]+|https://)'
message: \"Fixes\" should be used with commits, use \"Closes\" for issues