Skip to content

Commit da8ce36

Browse files
author
Rick Salevsky
committed
gitlint: Allow trivial changes to be without refernce (SOC-9559)
The author of a commit should make a conscious decision to either add a reference or not. Adding trivial instead of bsc or SOC enables this. This change prevents that adding a refernce is forgotten as the syntax requires to think about it. trivial -> simple unplanned changes noref -> more complex unplanned changes typo -> typo fixes only See SUSE-Cloud#3509 (comment) for more details.
1 parent 0089421 commit da8ce36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/jenkins/gitlint.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ line-length=80
88
words=wip,WIP
99

1010
[title-match-regex]
11-
regex=^(?!SOC).*\(((bsc#|SOC-)[0-9]+(,\s)?)+\)$
11+
regex=^(?!SOC).*\((((bsc#|SOC-)[0-9]+(,\s)?)+|trivial|typo|noref)\)$
1212

1313
[body-max-line-length]
1414
line-length=80

0 commit comments

Comments
 (0)