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 26ddb20 commit c545fffCopy full SHA for c545fff
commons/git_hooks/enforce_semantic_commit_msg.py
@@ -13,7 +13,7 @@
13
14
SUCCESS_MSG = "Commit succeed!. Semantic commit message is correct."
15
16
-COMMIT_MSG_REGEX = r'(build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert)(\([\w\-]+\))?:\s.*'
+COMMIT_MSG_REGEX = r'(TT-)[0-9].*(build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert)(\([\w\-]+\))?:\s.*'
17
18
# Get the commit message file
19
commit_msg_file = open(sys.argv[1]) # The first argument is the file
0 commit comments