We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c0c77 commit bcb4007Copy full SHA for bcb4007
build/git-hooks/commit-msg
@@ -1,7 +1,7 @@
1
#!/usr/bin/env bash
2
3
# Validate commit log
4
-commit_regex='^Merge.+|(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\(.+\))?: .{1,50}'
+commit_regex='^Merge.+|(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert|types)(\(.+\))?: .{1,50}'
5
6
if ! grep -iqE "$commit_regex" "$1"; then
7
echo
0 commit comments