Skip to content

build(tests): lint, unit tests, and ci for that #114

build(tests): lint, unit tests, and ci for that

build(tests): lint, unit tests, and ci for that #114

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