Skip to content

fix(ci): release trigger regex not matching conventional commit bang notation #253

fix(ci): release trigger regex not matching conventional commit bang notation

fix(ci): release trigger regex not matching conventional commit bang notation #253

Workflow file for this run

name: PR Title Check
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Conventional commit types for better changelog generation
types: |
build
chore
ci
docs
feat
fix
perf
refactor
revert
style
test
# Allow any scope
requireScope: false
# Custom subject pattern - allow any descriptive text
subjectPattern: ^.{1,100}$
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 and is descriptive.