Skip to content

Commit

Permalink
fix: support longer card reference number #9213
Browse files Browse the repository at this point in the history
  • Loading branch information
mhitza committed Dec 27, 2024
1 parent 4131be0 commit f3a5ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/10-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
# Matches lines that end in a card number: #1234
# Matches lines that end in a card number and PR reference: #1234 (#20)
pattern: '#\d{4}(\s+\(#\d+\))?'
pattern: '#\d{4,5}(\s+\(#\d+\))?'
flags: 'gm'
error: 'Your commit message has to end with a card number like "#1234".'
excludeDescription: 'true' # optional: this excludes the description body of a pull request
Expand Down
2 changes: 1 addition & 1 deletion templates/.github/workflows/10-review.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
# Matches lines that end in a card number: #1234
# Matches lines that end in a card number and PR reference: #1234 (#20)
pattern: '#\d{4}(\s+\(#\d+\))?'
pattern: '#\d{4,5}(\s+\(#\d+\))?'
flags: 'gm'
error: 'Your commit message has to end with a card number like "#1234".'
excludeDescription: 'true' # optional: this excludes the description body of a pull request
Expand Down

0 comments on commit f3a5ed0

Please sign in to comment.