Skip to content

chore: enforce semantic PR title validation #279

chore: enforce semantic PR title validation

chore: enforce semantic PR title validation #279

Workflow file for this run

---
name: PR
on:
pull_request:
types:
- edited
- opened
- reopened
- synchronize
jobs:
title:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: webiny/action-conventional-commits@v1.3.1
semantic-pr-title:
name: Semantic PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
requireScope: false
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
did not match the configured pattern. Please ensure that the subject
does not start with an uppercase character.
wip: true
validateSingleCommit: false