Skip to content

Commit 14628a6

Browse files
committed
actions: fix pr-title workflow
1 parent 741aad5 commit 14628a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
run: |
1717
echo "Checking PR title: $PR_TITLE"
1818
19-
if [[ "$PR_TITLE" =~ ^(feat|fix|chore|docs|test|refactor)(\([^)]+\))?:\ .+ ]]; then
19+
if printf '%s\n' "$PR_TITLE" | grep -Eq '^(feat|fix|chore|docs|test|refactor)(\([^)]+\))?: .+'; then
2020
exit 0
2121
fi
2222

0 commit comments

Comments
 (0)