Skip to content

feat: QAT-549 setup policy files #110

feat: QAT-549 setup policy files

feat: QAT-549 setup policy files #110

Workflow file for this run

name: "Lint PR title"
on:
pull_request:
types:
- opened
- edited
- synchronize
permissions:
pull-requests: read
jobs:
lint_pr_title:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
fix
feat
breaking
minor
major
patch
requireScope: false
subjectPattern: ([-a-zA-Z0-9]{2,5}[/-]{1}[0-9]+.*)
subjectPatternError: 'The subject "{subject}" found in the pull request title "{title}" did not match the configured pattern. Please start with the jira issue which originated your work - like feat(scope): PLT-000 additional info'