diff options
author | Pratyush Desai | 2023-02-19 20:54:59 +0100 |
---|---|---|
committer | Pratyush Desai | 2023-02-19 20:54:59 +0100 |
commit | 6e43bbbe4482752b919001b6db2c641b7ce02039 (patch) | |
tree | af00b9618e3377ba814710167e350866c37a2416 /.gommit.toml | |
parent | 51da14de69ac98ddd49cae393a76d64bded041b0 (diff) | |
parent | 68e41ceab84c614e67745ef5dba9640f2ddac795 (diff) | |
download | salt-6e43bbbe4482752b919001b6db2c641b7ce02039.tar.gz salt-6e43bbbe4482752b919001b6db2c641b7ce02039.tar.bz2 salt-6e43bbbe4482752b919001b6db2c641b7ce02039.zip |
Merge pull request 'Enable commit message linting' (#36) from commit-lint into production
Reviewed-on: https://git.com.de/LibertaCasa/salt/pulls/36
Reviewed-by: Pratyush Desai <pratyush.desai@liberta.casa>
Diffstat (limited to '.gommit.toml')
-rw-r--r-- | .gommit.toml | 23 |
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> +""" |