RIA-9237 - OOC Edit appeal post submission - Ability to edit LR details #4274
Workflow file for this run
This file contains 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: Does PR title match DIAC-nnn or RIA-nnnn or SNI-nnnn? | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- edited | |
- synchronize | |
jobs: | |
lint: | |
if: "!contains(github.event.pull_request.head.ref, 'renovate') && !contains(github.event.pull_request.head.ref, 'dependabot')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: deepakputhraya/action-pr-title@master | |
with: | |
regex: '^(DIAC-[0-9]{2,3} [a-zA-Z0-9._\- ]+)|(RIA-[0-9]{3,4} [a-zA-Z0-9._\- ]+)|(SNI-[0-9]{3,4} [a-zA-Z0-9._\- ]+)|(RIA-TASK [a-zA-Z0-9._\- ]+)|(\[Snyk\].+)$' # Regex the title should match. | |
prefix_case_sensitive: true # title prefix are case insensitive: |