mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: strict rule for commit body length
body-max-line-length is added as a warning even if the commit body is crossing the length limit of 80 its considered as a warning not an error. This commit moves the check from warning to error. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
810e285c50
commit
bc8ef89811
@ -19,7 +19,7 @@ rules:
|
||||
# Body shouldn't be empty
|
||||
body-min-length: [2, always, 1]
|
||||
# Wrap the lines to 80 characters.
|
||||
body-max-line-length: [1, always, 80]
|
||||
body-max-line-length: [2, always, 80]
|
||||
|
||||
# always sign off the commit
|
||||
trailer-exists: [2, always, "Signed-off-by:"]
|
||||
|
Loading…
Reference in New Issue
Block a user