Skip to content

feat: TECH skip message processing when the message parsing fails #156

feat: TECH skip message processing when the message parsing fails

feat: TECH skip message processing when the message parsing fails #156

Workflow file for this run

name: 'Lint PR title'
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
lint:
name: lint-pr-title
runs-on: ubuntu-latest
steps:
- name: semantic-pull-request
uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
subjectPattern: ^((JOIN-\d+([, ]JOIN-\d+)*)|TECH|bump) (?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character and includes jira ticket.