From e33a2910032018d4c6c8658cd9dced1766093ede Mon Sep 17 00:00:00 2001 From: Ronnie Friman Date: Tue, 21 Apr 2026 14:14:04 +0300 Subject: [PATCH] Ignore all lines that start with 'Co-authored-by' For GitHub co-author commits to work, they need to be placed at the end of the commit message. This overlaps with our body-match-regex rule, which requires Jira-style issue IDs to be on the last line as well. Impact: patch Related: ICA-38 --- .gitlint | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlint b/.gitlint index 5aa9959..20cd3b6 100644 --- a/.gitlint +++ b/.gitlint @@ -33,3 +33,7 @@ regex=(.*)dependabot(.*) # Ignore max length for links regex=^(|[A-Z][a-z]+: )https?:\/\/ ignore=body-max-line-length + +[ignore-body-lines] +# Ignore all lines that start with 'Co-Authored-By' +regex=^Co-[Aa]uthored-[Bb]y