Skip to content

Commit 08a18dd

Browse files
committed
build: add types as allowed commit type
1 parent 89f0d29 commit 08a18dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build/git-hooks/commit-msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# Validate commit log
4-
commit_regex='^Merge.+|(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\(.+\))?: .{1,50}'
4+
commit_regex='^Merge.+|(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert|types)(\(.+\))?: .{1,50}'
55

66
if ! grep -iqE "$commit_regex" "$1"; then
77
echo

0 commit comments

Comments
 (0)