Skip to content

Lint PR Title

Lint PR Title #209

name: Lint PR Title
run-name: ${{github.event.pull_request.title}}
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize
jobs:
check:
name: Check Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
deps
chore
docs
feat
fix
refactor
test
requireScope: false
# https://regex101.com/r/pmEvPq/2
subjectPattern: ^(?![A-Z]).+$