Anki/.github/workflows/semantic-pr.yml
2025-09-25 08:31:08 +02:00

30 lines
663 B
YAML

name: Check PR title (conventional)
on:
pull_request:
types: [opened, edited, synchronize, reopened, ready_for_review]
jobs:
semantic:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
requireScope: false
subjectPattern: '^[^\s].+'
wip: true