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:
parent
90d36b8821
commit
519ec32ac8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue