| name | fix-pr-automation |
| description | Work with the automated PR fixer and its CLI, including prompts and workflow configuration. Use when diagnosing failed CI auto-fixes, running the fix-pr CLI locally, or updating the fix-pr prompt or workflow. |
Fix PR Automation
Overview
Run or adjust the automated PR fixer that proposes patches for failing CI jobs.
Workflow
- Read
docs/FIX-PR.mdfor the end-to-end workflow and safety constraints. - Run locally from
dev/packages/release-scripts:pnpm fix:pr. - Provide required secrets (
GITHUB_TOKENandOPENAI_API_KEYorCODEX_API_KEY) and verify the CLI output. - Update the prompt at
dev/packages/release-scripts/scripts/fix-pr/prompt.mdand the workflow at.github/workflows/fix-pr.ymlwhen behavior changes are needed.