feat: [SRTP-81] setup controller and model generation #85
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: Pull request validation | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
pr-validation: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 | |
- name: PR title validation | |
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # 5.5.3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
types: | | |
docs | |
refactor | |
chore | |
fix | |
feat | |
breaking | |
requireScope: false | |
subjectPattern: '\[SRTP(-[0-9]{2,4})?\] .+' | |
subjectPatternError: | | |
The subject "{subject}" found in the pull request title "{title}" | |
doesn't match the configured pattern. Please ensure that the subject | |
starts with an uppercase character. | |
wip: false |