Browse Source

build: add types as allowed commit type

Evan You 8 years ago
parent
commit
08a18dd7b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/git-hooks/commit-msg

+ 1 - 1
build/git-hooks/commit-msg

@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 # Validate commit log
-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}'
 
 if ! grep -iqE "$commit_regex" "$1"; then
     echo