Skip to content

feat: enhance PR title validation error messages #8

feat: enhance PR title validation error messages

feat: enhance PR title validation error messages #8

Workflow file for this run

name: Lint
on:
pull_request:
types: [opened, edited, synchronize, reopened]
push:
branches: [ main ]
jobs:
check-title:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run title checker
uses: ./
with:
pattern: '^(fix|feat|docs|style|refactor|pref|test|build|ci|chore|revert)(\([^)]+\))?(!)?: [\x21-\x7E]([\x20-\x7E]{0,118}[\x21-\x7E])?$'