💚(gitlint) ignore missing body on release commits
release commits dont need any body info as the changelog ~~is~~ will be updated accordingly to track changes of the release
This commit is contained in:
committed by
aleb_the_flash
parent
a2774eb888
commit
b03bfe94a4
7
.gitlint
7
.gitlint
@@ -62,12 +62,17 @@ words=wip
|
|||||||
# For example, use the following regex if you only want to allow email addresses from foo.com
|
# For example, use the following regex if you only want to allow email addresses from foo.com
|
||||||
# regex=[^@]+@foo.com
|
# regex=[^@]+@foo.com
|
||||||
|
|
||||||
[ignore-by-title]
|
[ignore-by-title:bots]
|
||||||
# Allow empty body & wrong title pattern only when bots (pyup/greenkeeper)
|
# Allow empty body & wrong title pattern only when bots (pyup/greenkeeper)
|
||||||
# upgrade dependencies
|
# upgrade dependencies
|
||||||
regex=^(⬆️.*|Update (.*) from (.*) to (.*)|(chore|fix)\(package\): update .*)$
|
regex=^(⬆️.*|Update (.*) from (.*) to (.*)|(chore|fix)\(package\): update .*)$
|
||||||
ignore=B6,UC1
|
ignore=B6,UC1
|
||||||
|
|
||||||
|
[ignore-by-title:releases]
|
||||||
|
# Allow empty body for release commits
|
||||||
|
regex=^🔖.*$
|
||||||
|
ignore=B6
|
||||||
|
|
||||||
# [ignore-by-body]
|
# [ignore-by-body]
|
||||||
# Ignore certain rules for commits of which the body has a line that matches a regex
|
# Ignore certain rules for commits of which the body has a line that matches a regex
|
||||||
# E.g. Match bodies that have a line that that contain "release"
|
# E.g. Match bodies that have a line that that contain "release"
|
||||||
|
|||||||
Reference in New Issue
Block a user