From cdd09ed5249e419d6cbbcfb7593ba428d022d0c8 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Mon, 20 Feb 2023 19:53:27 +0100 Subject: pipeline.gommit: allow more characters in prefix - For profiles/roles with - or _ in their name - In the future we should rename all - to _ and adjust the regex to forbid all - Signed-off-by: Georg Pfuetzenreuter --- .gommit.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gommit.toml b/.gommit.toml index fac56a1..d2e43b3 100644 --- a/.gommit.toml +++ b/.gommit.toml @@ -4,7 +4,7 @@ check-summary-length=true summary-length=50 [matchers] -all='^(?:(?:Add|Remove|Update|Enable|Disable) |(?:role|profile|id|pipeline)\.\w+: )[\w \.\+\-]+\n(?:(?:\n\- .*)+\n)?(?:\nSigned-off-by: \w+ \w+ <.*@.*>)' +all='^(?:(?:Add|Remove|Update|Enable|Disable) |(?:role|profile|id|pipeline)\.[\w\-_]+: )[\w \.\+\-]+\n(?:(?:\n\- .*)+\n)?(?:\nSigned-off-by: \w+ \w+ <.*@.*>)' [examples] summary_variant_one=""" -- cgit v1.2.3