Skip to content

Commit

Permalink
regex
Browse files Browse the repository at this point in the history
  • Loading branch information
JackSpagnoliNHS committed Jan 23, 2024
1 parent 24a1151 commit 41b548c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Check PR Title contains Ticket/Dependabot Reference
run: |
if [[ "${{ github.event.pull_request.title }}" =~ ^.*:.*\[AEA-\d+\].*-.*$ ]]; then
if [[ "${{ github.event.pull_request.title }}" =~ ^.*:.*\[AEA-[0-9]+\].*-.*$ ]]; then
echo "PR title contains ticket or dependabot reference."
else
echo "PR title does not contain ticket or dependabot reference."
Expand Down

0 comments on commit 41b548c

Please sign in to comment.