Skip to content

Commit 99d05cb

Browse files
committed
Remove some escaping to resolve an error when comparing commit messages
1 parent 5f1beaf commit 99d05cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/require-conventional-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
4545
has_conventional_commit=false
4646
for commit_message in "${commit_array[@]}"; do
47-
if [[ "$commit_message" =~ ^(feat|fix|build|chore|ci|docs|perf|refactor|revert|style|test)(\([^)]+\))?: .* ]]; then
47+
if [[ "$commit_message" =~ ^(feat|fix|build|chore|ci|docs|perf|refactor|revert|style|test)(([^)]+))?: .* ]]; then
4848
has_conventional_commit=true
4949
break
5050
fi

0 commit comments

Comments
 (0)