From 2132d60062081fcba21044288be2aa1d0cd4b947 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 13 Dec 2021 18:39:25 +0100 Subject: [PATCH] dev(ci): permit short bump/revert commit messages --- core/cli/ci.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cli/ci.el b/core/cli/ci.el index 4b0b03d92..4434629b2 100644 --- a/core/cli/ci.el +++ b/core/cli/ci.el @@ -87,9 +87,9 @@ representing the current commit being checked against. See (fn! (&key type subject) "Test SUBJECT length" (let ((len (length subject))) - (cond ((<= len 10) + (cond ((memq type '(bump revert))) + ((<= 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?")) ((> len 72)