From d7235e3292ab1e78512a27f75c87da01bc0cd77a Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Fri, 27 Sep 2024 10:07:47 +0200 Subject: [PATCH] ci: warn on long commit body line (#12) Avoid failing the commitlint task on long commit body lines and just raise a warning. This allows renovate tabled commit messages to pass the ci. Signed-off-by: Francesco Canovai --- commitlint.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commitlint.config.js b/commitlint.config.js index 85ce1e0..99e4967 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -4,6 +4,7 @@ const Configuration= { rules: { 'body-empty': [1, 'never'], 'body-case': [2, 'always', 'sentence-case'], + 'body-max-line-length': [1, 'always', 100], 'references-empty': [1, 'never'], 'signed-off-by': [2, 'always', 'Signed-off-by:'], },