Skip to content

Commit

Permalink
Merge pull request #115 from linkorb/extend-card-numbers-in-review-9213
Browse files Browse the repository at this point in the history
fix: support longer card reference number #9213
  • Loading branch information
mhitza authored Dec 27, 2024
2 parents 4131be0 + f3a5ed0 commit c50ca9a
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 c50ca9a

Please sign in to comment.