Skip to content

chore(deps): update dependency actions/download-artifact to v8.0.2 #746

chore(deps): update dependency actions/download-artifact to v8.0.2

chore(deps): update dependency actions/download-artifact to v8.0.2 #746

Workflow file for this run

name: Validate PR Title
on:
pull_request:
types: [opened, edited, synchronize, reopened]
branches: [main]
# Least-privilege default: read-only token; the job below widens to pull-requests:read.
permissions:
contents: read
jobs:
validate-pr-title:
name: Validate PR Title
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- name: Validate PR title follows conventional commit format
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed (must match git-cliff config)
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
# Require a scope for certain types (optional)
requireScope: false
# Validate the subject is not empty
subjectPattern: ^.+$
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.
# Validate the entire PR title (not just the subject)
validateSingleCommit: false
# Ignore merge commits
ignoreLabels: |
bot
ignore-semantic-pull-request