Skip to content

Commit 7787bc8

Browse files
committed
allow numbers in scopes
1 parent 2533306 commit 7787bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
env:
1313
PR_TITLE: ${{ github.event.pull_request.title }}
1414
run: |
15-
if ! echo "$PR_TITLE" | grep -E "^(fix|feat|chore|docs)(\([a-z-]+\))?: (🔖 |🧪 )?[a-z].+[^.]$"; then
15+
if ! echo "$PR_TITLE" | grep -E "^(fix|feat|chore|docs)(\([a-z0-9-]+\))?: (🔖 |🧪 )?[a-z].+[^.]$"; then
1616
echo "❌ PR title '$PR_TITLE' does not match the required format"
1717
echo "Required format: type(scope): subject"
1818
echo "Examples:"

0 commit comments

Comments
 (0)