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 832bed3 commit e2a485c
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 }}" =~ ^.*:.*\[.*\]\s\-\s.*$ ]]; then
if [[ "${{ github.event.pull_request.title }}" =~ ^.*:.*\[.*\].*\-.*$ ]]; 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 e2a485c

Please sign in to comment.