Skip to content

fix: improve docstring parsing #130

fix: improve docstring parsing

fix: improve docstring parsing #130

name: Enforce semantic PR title
on:
pull_request_target:
types:
- opened
- edited
- synchronize
permissions:
pull-requests: read
jobs:
main:
name: validate
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
with:
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
types: |
build
chore
ci
docs
feat
fix
perf
refactor
release
revert
style
tests
scopes: |
deps
git
pkg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}