From 6106e4c0c26709bcef6b513c9fc5cefabcc32a1c Mon Sep 17 00:00:00 2001 From: Rick Salevsky Date: Mon, 1 Jul 2019 12:08:02 +0200 Subject: [PATCH] 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 compley unplanned changes typo -> typo fixes only See https://github.com/SUSE-Cloud/automation/pull/3509#discussion_r298963183 for more details. --- scripts/jenkins/gitlint.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jenkins/gitlint.ini b/scripts/jenkins/gitlint.ini index 8b0eeb4245..4612015ea0 100644 --- a/scripts/jenkins/gitlint.ini +++ b/scripts/jenkins/gitlint.ini @@ -8,7 +8,7 @@ line-length=80 words=wip,WIP [title-match-regex] -regex=^(?!SOC).*\(((bsc#|SOC-)[0-9]+(,\s)?)+\)$ +regex=^(?!SOC).*\((((bsc#|SOC-)[0-9]+(,\s)?)+|trivial)\)$ [body-max-line-length] line-length=80