name: Semantic PR
on:
pull_request_target:
types:
- opened
- edited
- synchronize
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
main:
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Allow PRs with 'chore:' or 'docs:' which don't trigger a release
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
# Configure which scopes are allowed (optional). We leave it open.
requireScope: false