Skip to content

fix(ci): block agent PR title prefixes #1

fix(ci): block agent PR title prefixes

fix(ci): block agent PR title prefixes #1

name: PR Title Check
on:
pull_request:
types: [opened, edited, synchronize, reopened]
branches: [main]
permissions:
contents: read
jobs:
pr-title:
name: Check PR title
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Check for agent/tool PR title prefix
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: node scripts/check-pr-title.cjs "$PR_TITLE"