fixes repositoryId issue and adds selection type of single or multiple #8955
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: PR Title Check | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| check-title: | |
| if: github.actor != 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: deepakputhraya/action-pr-title@077bddd7bdabd0d2b1b25ed0754c7e62e184d7ee # master | |
| with: | |
| # Regex to match jira ticket, examples: "[JIRA-123] My PR title" or "chore: no ticket []" | |
| regex: '.*\[([A-Z]+-\d+|)\].*' | |
| allowed_prefixes: '' | |
| prefix_case_sensitive: false | |
| min_length: 5 | |
| max_length: 150 |