summaryrefslogtreecommitdiffstats
path: root/.gommit.toml
diff options
context:
space:
mode:
Diffstat (limited to '.gommit.toml')
-rw-r--r--.gommit.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.gommit.toml b/.gommit.toml
new file mode 100644
index 0000000..eaffd69
--- /dev/null
+++ b/.gommit.toml
@@ -0,0 +1,23 @@
+[config]
+exclude-merge-commits=true
+check-summary-length=true
+summary-length=50
+
+[matchers]
+all='^(?:(?:Add|Remove|Update|Enable|Disable) |(?:role\.\w+|profile\.\w+): )[\w ]+\n(?:(?:\n\- .*)+\n)?(?:\nSigned-off-by: \w+ \w+ <.*@.*>)'
+
+[examples]
+summary_variant_one="""
+[Add|Remove|Update|Enable|Disable] this and that
+"""
+
+summary_variant_two="""
+[role.$role|profile.$profile]: this and that
+"""
+
+body_message="""
+- an optional body line
+- another optional body line
+
+Signed-off-by: Max Mandatory <required@example.com>
+"""