Skip to content

fix: CRM-749 add missing test #4

fix: CRM-749 add missing test

fix: CRM-749 add missing test #4

Workflow file for this run

name: "Lint PR title"
on:
pull_request:
types:
- opened
- edited
- synchronize
jobs:
lint_pr_title:
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
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]+.*)
# If `subjectPattern` is configured, you can use this property to override
# the default error message that is shown when the pattern doesn't match.
# The variables `subject` and `title` can be used within the message.
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'