Skip to content

Commit

Permalink
chore: allow 8 character minimum commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-granthon committed Nov 11, 2024
1 parent 839bff1 commit a284dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/scripts/shared/commit-msg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# Semantic commit regex
commit_regex="^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\(.+\))?: .{10,200}$"
commit_regex="^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\(.+\))?: .{8,200}$"

# Merge commit regex
merge_commit_regex="^Merge (branch|remote-tracking branch) '.+' into .+$"
Expand Down

0 comments on commit a284dfa

Please sign in to comment.