Skip to content

chore(deps): bump the npm_and_yarn group across 2 directories with 1 update #359

chore(deps): bump the npm_and_yarn group across 2 directories with 1 update

chore(deps): bump the npm_and_yarn group across 2 directories with 1 update #359

name: PR Title Validation
on:
pull_request:
types: [opened, edited, reopened]
jobs:
validate-pr-title:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- name: Validate PR title follows Conventional Commits
uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure the types allowed in PR titles
# Based on Conventional Commits specification
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
# Require a scope (optional - can be removed if not needed)
requireScope: false
# Subject must start with lowercase
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
starts with a lowercase letter.