dev(ci): permit short bump/revert commit messages
This commit is contained in:
parent
fd2788c268
commit
2132d60062
1 changed files with 2 additions and 2 deletions
|
@ -87,9 +87,9 @@ representing the current commit being checked against. See
|
||||||
(fn! (&key type subject)
|
(fn! (&key type subject)
|
||||||
"Test SUBJECT length"
|
"Test SUBJECT length"
|
||||||
(let ((len (length subject)))
|
(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"))
|
(fail! "Subject is too short (<10) and should be more descriptive"))
|
||||||
((memq type '(bump revert)))
|
|
||||||
((<= len 20)
|
((<= len 20)
|
||||||
(warn! "Subject is short (<20); are you sure it's descriptive enough?"))
|
(warn! "Subject is short (<20); are you sure it's descriptive enough?"))
|
||||||
((> len 72)
|
((> len 72)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue