VIH-11019 Consolidate ng models for bookings #5960
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: Check PR title | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- edited | |
- synchronize | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: deepakputhraya/action-pr-title@master | |
with: | |
regex: '^(VIH-[0-9]{4,5} [a-zA-Z0-9._\- ]+)|(\[Snyk\].+)$' # Regex the title should match. | |
allowed_prefixes: 'VIH-,[Snyk]' # title should start with the given prefix | |
prefix_case_sensitive: true # title prefix are case insensitive |