Repository navigation
Bump seroval from 1.5.6 to 1.7.7 in /submit-web #1810
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check PR Title for Jira Ticket | |
| on: | |
| pull_request: | |
| types: [opened, edited, reopened, synchronize] | |
| jobs: | |
| check-pr-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Validate PR title contains Jira ticket | |
| run: | | |
| TITLE="${{ github.event.pull_request.title }}" | |
| echo "Checking PR title: $TITLE" | |
| # Regex: looks for something like SUBMIT-123 anywhere in the title | |
| if [[ ! "$TITLE" =~ SUBMIT-[0-9]+ ]]; then | |
| echo "PR title must include a Jira ticket number like SUBMIT-123" | |
| exit 1 | |
| fi |