You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Split pr check fix into pr ci detective and pr ci fixer #121
Split pr-checks-fix into a read-only pr-ci-detective workflow plus an opt-in pr-ci-fixer workflow so automatic runs only diagnose while fixes require explicit intent.
Recommendation
Create two new workflows: pr-ci-detective (auto on failed CI, add-comment only) and pr-ci-fixer (opt-in, add-comment + push-to-pull-request-branch). Keep pr-checks-fix as a deprecated alias or redirect to pr-ci-detective to avoid breaking existing installs, and update docs + examples to the new names.
Findings
The current workflow is a single pr-checks-fix shim that imports both comment and push safe-outputs (.github/workflows/gh-aw-pr-checks-fix.md:L1-L12) and explicitly instructs the agent to push fixes (.github/workflows/gh-aw-pr-checks-fix.md:L65-L120).
The install docs and examples are all named pr-checks-fix (README.md:L24-L31, gh-agent-workflows/README.md:L7-L14, gh-agent-workflows/pr-checks-fix/README.md:L1-L31, gh-agent-workflows/pr-checks-fix/example.yml:L1-L21).
The dogfood trigger also points at the single compiled workflow (.github/workflows/trigger-pr-checks-fix.yml:L1-L21).
Verification
Not run (triage only).
Detailed Action Plan
Add new shims in .github/workflows/ per gh-agent-workflows/DEVELOPING.md:L134-L140:
gh-aw-pr-ci-detective.md: copy the existing gh-aw-pr-checks-fix.md but drop safe-output-push-to-pr, rename the prompt/title to “PR CI Detective,” and remove push-related instructions.
gh-aw-pr-ci-fixer.md: keep safe-output-push-to-pr and update naming to “PR CI Fixer,” emphasizing that fixes are opt-in.
Create new workflow directories:
gh-agent-workflows/pr-ci-detective/README.md + example.yml with the current workflow_run trigger, and permissions pared down to contents: read + issues/pull-requests: write.
gh-agent-workflows/pr-ci-fixer/README.md + example.yml with an explicit opt-in trigger (e.g., workflow_dispatch with a run_id input or a /ai-style comment command) and contents: write for push.
Decide on backwards compatibility:
Either keep pr-checks-fix as a thin wrapper that calls gh-aw-pr-ci-detective.lock.yml, or mark it deprecated in docs while keeping the old files for one release.
Update references in README.md and gh-agent-workflows/README.md to list the two new workflows and remove/annotate PR Checks Fix.
Run make compile to generate new .lock.yml files and updated trigger-*.yml copies, then verify output is clean.
Activity
github-actions commentedon Feb 19, 2026
Split
pr-checks-fixinto a read-onlypr-ci-detectiveworkflow plus an opt-inpr-ci-fixerworkflow so automatic runs only diagnose while fixes require explicit intent.Recommendation
pr-ci-detective(auto on failed CI, add-comment only) andpr-ci-fixer(opt-in, add-comment + push-to-pull-request-branch). Keeppr-checks-fixas a deprecated alias or redirect topr-ci-detectiveto avoid breaking existing installs, and update docs + examples to the new names.Findings
pr-checks-fixshim that imports both comment and push safe-outputs (.github/workflows/gh-aw-pr-checks-fix.md:L1-L12) and explicitly instructs the agent to push fixes (.github/workflows/gh-aw-pr-checks-fix.md:L65-L120).pr-checks-fix(README.md:L24-L31,gh-agent-workflows/README.md:L7-L14,gh-agent-workflows/pr-checks-fix/README.md:L1-L31,gh-agent-workflows/pr-checks-fix/example.yml:L1-L21)..github/workflows/trigger-pr-checks-fix.yml:L1-L21).Verification
Not run (triage only).
Detailed Action Plan
.github/workflows/pergh-agent-workflows/DEVELOPING.md:L134-L140:gh-aw-pr-ci-detective.md: copy the existinggh-aw-pr-checks-fix.mdbut dropsafe-output-push-to-pr, rename the prompt/title to “PR CI Detective,” and remove push-related instructions.gh-aw-pr-ci-fixer.md: keepsafe-output-push-to-prand update naming to “PR CI Fixer,” emphasizing that fixes are opt-in.gh-agent-workflows/pr-ci-detective/README.md+example.ymlwith the currentworkflow_runtrigger, and permissions pared down tocontents: read+issues/pull-requests: write.gh-agent-workflows/pr-ci-fixer/README.md+example.ymlwith an explicit opt-in trigger (e.g.,workflow_dispatchwith arun_idinput or a/ai-style comment command) andcontents: writefor push.pr-checks-fixas a thin wrapper that callsgh-aw-pr-ci-detective.lock.yml, or mark it deprecated in docs while keeping the old files for one release.README.mdandgh-agent-workflows/README.mdto list the two new workflows and remove/annotatePR Checks Fix.make compileto generate new.lock.ymlfiles and updatedtrigger-*.ymlcopies, then verify output is clean.Related Items
pr-checks-fixshim and docs..github/workflows/gh-aw-pr-checks-fix.md:L1-L120gh-agent-workflows/pr-checks-fix/README.md:L1-L31gh-agent-workflows/pr-checks-fix/example.yml:L1-L21What is this? | From workflow: Issue Triage Agent
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #121
strawgate commentedon Feb 19, 2026
/ai make a pr dont worry about backwards compat
github-actions commentedon Feb 19, 2026
PR created via automation with title Add PR CI detective and fixer workflows (if it’s not visible yet, please check recent PRs for that title).
Summary:
pr-ci-detective(read-only, workflow_run) andpr-ci-fixer(workflow_dispatch withworkflow-run-id) templates + docspr-checks-fixdocsgithub/workflowsfor maintainer relocation into.github/workflowsand compilationTesting:
make lintWhat is this? | From workflow: Issue Assistant
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #121