diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1783681..38f9070 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -29,7 +29,7 @@ jobs: - name: Check PR Title contains Ticket/Dependabot Reference run: | - if [[ "${{ github.event.pull_request.title }}" =~ ^.*:.\[(AEA-\d{4}|dependabot)\].\-.*$ ]]; then + if [[ "${{ github.event.pull_request.title }}" =~ ^.*:.*\[(AEA-\d{4}|dependabot)\].*\-.*$ ]]; then echo "PR title contains ticket or dependabot reference." else echo "PR title does not contain ticket or dependabot reference."