From 710eab10c7ee38ae8cf0456e4cd0d96cd1ac9184 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 4 Nov 2021 01:43:10 +0100 Subject: [PATCH] dev(ci): suppress summary length warnings for bump/revert commits --- core/cli/ci.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cli/ci.el b/core/cli/ci.el index 74da59658..e6e6abb46 100644 --- a/core/cli/ci.el +++ b/core/cli/ci.el @@ -89,9 +89,9 @@ representing the current commit being checked against. See (let ((len (length subject))) (cond ((<= len 10) (fail! "Subject is too short (<10) and should be more descriptive")) + ((memq type '(bump revert))) ((<= len 20) (warn! "Subject is short (<20); are you sure it's descriptive enough?")) - ((memq type '(bump revert))) ((> len 72) (fail! "Subject is %d characters, above the 72 maximum" len))