Skip to content

Commit 5a3d173

Browse files
committed
gitlint: ignore dependabot Co-authored-by lines
Dependabot tends to generate "Co-authored-by" lines that exceed the default 80 char limit. Ignore those lines in commit messages.
1 parent a5180cc commit 5a3d173

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.gitlint

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[general]
2+
# See https://jorisroovers.com/gitlint/configuration/#regex-style-search
3+
regex-style-search=True
4+
5+
# Dependabot tends to generate "Co-authored-by" lines that exceed the default 80 char limit. Ignore those.
6+
[ignore-body-lines]
7+
regex=^Co-authored-by: dependabot

0 commit comments

Comments
 (0)