Skip to content

Commit bb713b7

Browse files
committed
ci: update max length for commit messages to 72 characters
1 parent c785b95 commit bb713b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/hooks/commit-msg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if ! head -1 "$1" | grep -qE "^(build|chore|ci|docs|feat|fix|perf|refactor|rever
3131
echo "For more information check https://www.conventionalcommits.org/en/v1.0.0/ for more details" >&2
3232
exit 1
3333
fi
34-
if ! head -1 "$1" | grep -qE "^.{9,85}$"; then
35-
echo "Aborting commit. Your commit message is too long. Max length is 89 characters" >&2
34+
if ! head -1 "$1" | grep -qE "^.{9,72}$"; then
35+
echo "Aborting commit. Your commit message is too long. Max length is 72 characters" >&2
3636
exit 1
37-
fi
37+
fi

0 commit comments

Comments
 (0)