fix: update semantic release #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Title Check | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
jobs: | |
check-pr-title: | |
name: Validate PR Title | |
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 | |
chore | |
revert | |
ci | |
build | |
requireScope: false | |
subjectPattern: ^[a-z].+$ | |
subjectPatternError: | | |
The subject must start with a lowercase letter and not end with a period. | |
Examples: 'feat: add user authentication' or 'fix: resolve memory leak' |