Skip to content

Commit

Permalink
fix(ci)[commit-msg hook]: updated regex pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Sep 27, 2023
1 parent 7082506 commit ce49a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dev/check-commit-msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
commit_msg = f.read()
commit_msg = commit_msg.replace("\n", "")

pattern = re.compile("^(feat|fix|test|chore|wip)(\(\S+\))?(\[\S+\])?:.+$")
pattern = re.compile("^(feat|fix|test|chore|wip)(\(.+\))?(\[.+\])?:.+$")
matches = bool(pattern.match(commit_msg))

if matches:
Expand Down

0 comments on commit ce49a08

Please sign in to comment.