Skip to content

chore: enforce semantic pr #1

chore: enforce semantic pr

chore: enforce semantic pr #1

Workflow file for this run

name: Semantic PR
on:
pull_request:
branches: [main]
permissions:
pull-requests: read
jobs:
semantic-pr:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
docs
test
refactor
ci
perf
requireScope: false
subjectPattern: ^[a-z].+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
must start with a lowercase letter.