Skip to content

feat(docs): add user bot CLI reference documentation #150

feat(docs): add user bot CLI reference documentation

feat(docs): add user bot CLI reference documentation #150

name: Validate PR Title
on:
pull_request:
types:
- opened
- edited
- synchronize
jobs:
main:
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- name: Validate PR Title with Conventional Commits
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Allowed types based on Conventional Commits
types: |
feat
fix
docs
chore
test
refactor
ci
# Scope is optional
requireScope: false
# This example ensures the subject doesn't start with an uppercase character.
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.
# Allow Work-in-Progress (WIP) PRs using the "[WIP]" prefix
wip: true
# Skip validation for single-commit PRs
validateSingleCommit: false