Skip to content

feat: check access token for group attribute as well; fix #43 #75

feat: check access token for group attribute as well; fix #43

feat: check access token for group attribute as well; fix #43 #75

name: Pull request title validator
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
main:
name: Conventional commit title validation
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
fix
feat
docs
ci
chore
build
test
requireScope: false
subjectPattern: ^(?![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.
headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$'
headerPatternCorrespondence: type, scope, subject
wip: true