Skip to content

Commit

Permalink
fix(devops): Allow spaces in conventional commit scopes (#20)
Browse files Browse the repository at this point in the history
# Motivation
The scopes seem overly restrictive in not allowing spaces.

# Changes
- Allow spaces in conventional commit scopes.

# Tests
  • Loading branch information
bitdivine authored Sep 25, 2024
1 parent 887d1b7 commit 67daa6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- name: Conventional commits
run: |
if [[ "$TITLE" =~ ^(feat|fix|chore|build|ci|docs|style|refactor|perf|test)( ?\([-a-zA-Z0-9,]+\))\!?\: ]]; then
if [[ "$TITLE" =~ ^(feat|fix|chore|build|ci|docs|style|refactor|perf|test)( ?\([-a-zA-Z0-9, ]+\))\!?\: ]]; then
echo "PR Title passes"
else
echo "PR Title does not match conventions: $TITLE"
Expand Down

0 comments on commit 67daa6c

Please sign in to comment.