AIDE PR Ready
Overview
Standardize the "PR Ready" step: run validation, post a summary, and flip a PR from draft to ready.
Workflow
Inputs
- •PR number or PR URL (required)
- •Optional repo override (
owner/repo) - •Optional
-DryRunto print actions only - •Optional
-Fastto run lint + unit tests only
Actions
- •Locate repo root (walk up until
AGENTS.md). - •Read
AGENTS.mdand extract quality commands:- •
{{LINT_COMMAND}} - •
{{RUN_UNIT_TESTS_COMMAND}} - •
{{RUN_ALL_TESTS_COMMAND}} - •
{{SMOKE_TEST_COMMAND}}(optional)
- •
- •Run validation:
- •Default: lint + all tests (+ smoke if defined)
- •
-Fast: lint + unit tests
- •Post a PR comment with the validation summary.
- •Mark the PR ready:
gh pr ready <pr>.
Output
- •A short log of what ran and whether it passed.
Notes
- •If any gate fails, do not mark the PR ready; post a failing summary instead.