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:
Madhu Rajanna 2021-12-21 19:31:13 +05:30 committed by mergify[bot]
parent 810e285c50
commit bc8ef89811

View File

@ -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:"]