dev(ci): permit short bump/revert commit messages

This commit is contained in:
Henrik Lissner 2021-12-13 18:39:25 +01:00
parent fd2788c268
commit 2132d60062

View file

@ -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)