summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-02-20 19:53:27 +0100
committerGeorg Pfuetzenreuter2023-02-20 20:09:14 +0100
commitcdd09ed5249e419d6cbbcfb7593ba428d022d0c8 (patch)
tree5e46016641c8c9e437fc0c813ecc67fdea411b1c
parenta705925aa695cd4f6b4fe529b31f2df6bceaa4c6 (diff)
downloadsalt-cdd09ed5249e419d6cbbcfb7593ba428d022d0c8.tar.gz
salt-cdd09ed5249e419d6cbbcfb7593ba428d022d0c8.tar.bz2
salt-cdd09ed5249e419d6cbbcfb7593ba428d022d0c8.zip
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 <mail@georg-pfuetzenreuter.net>
-rw-r--r--.gommit.toml2
1 files changed, 1 insertions, 1 deletions
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="""