Skip to content

Commit d798579

Browse files
fix: update PR title semantic check pattern to ensure proper formatting
1 parent c8431a4 commit d798579

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-title-semantic-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
2323
# Allowed: type(scope): subject
2424
# Also allowed: type!: subject or type(scope)!: subject
25-
pattern='^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9._/-]+\))?(!)?: .+$'
25+
pattern='^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9._/-]+\))?(!)?: [^[:space:]].*$'
2626
2727
if [[ "$PR_TITLE" =~ $pattern ]]; then
2828
echo "✅ PR title is semantic: $PR_TITLE"

0 commit comments

Comments
 (0)