dev(ci): suppress summary length warnings for bump/revert commits
This commit is contained in:
parent
d6262dd287
commit
710eab10c7
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue