diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 613db0e6..5ac3898c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,9 +24,10 @@ jobs: uses: actions/checkout@v4 - name: Check PR title for ticket number + if: github.event_name == 'pull_request' && github.event.pull_request.user.type != 'bot' run: | echo "PR Title: ${{ github.event.pull_request.title }}" - + # Regex pattern for a ticket number TICKET_PATTERN="DXTA-[0-9]+" # Matches strings like DXTA-123