mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
dev(ci): suppress summary length warnings for bump/revert commits
This commit is contained in:
@ -89,9 +89,9 @@ representing the current commit being checked against. See
|
|||||||
(let ((len (length subject)))
|
(let ((len (length subject)))
|
||||||
(cond ((<= len 10)
|
(cond ((<= 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?"))
|
||||||
((memq type '(bump revert)))
|
|
||||||
((> len 72)
|
((> len 72)
|
||||||
(fail! "Subject is %d characters, above the 72 maximum"
|
(fail! "Subject is %d characters, above the 72 maximum"
|
||||||
len))
|
len))
|
||||||
|
Reference in New Issue
Block a user