Skip to content

pull-request-lint

pull-request-lint #10

name: pull-request-lint
on:
merge_group: {}
pull_request_target:
types:
- labeled
- opened
- synchronize
- reopened
- ready_for_review
- edited
jobs:
validate:
name: Validate PR Title
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' || github.event_name == 'pull_request_target')
permissions:
pull-requests: write
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |-
feat
fix
chore
docs
style
refactor
perf
test
build
ci
revert
requireScope: false