Skip to content

Commit

Permalink
chore: add commit type missed
Browse files Browse the repository at this point in the history
  • Loading branch information
c-git committed Jul 16, 2024
1 parent 5f02af1 commit a94d2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

regex="^(feat|fix|build|chore|ci|docs|style|refactor|perf|test)(\[.+\])?: .+"
regex="^(feat|fix|build|chore|ci|docs|style|refactor|perf|test|revert)(\[.+\])?: .+"

grep -E "$regex" "$1"
if [ $? != 0 ]
Expand Down

0 comments on commit a94d2e5

Please sign in to comment.