Fix GitHub Actions
Goal
Turn red workflows green with evidence-driven debugging and minimal, reliable fixes.
Workflow
- •Identify failing runs and failing jobs/steps.
- •Extract exact error logs/artifacts.
- •Reproduce locally using the same commands/environment assumptions.
- •Apply minimal fix in code/workflow/scripts.
- •Re-run local verification gates.
- •Re-run workflow and confirm green.
Commands
bash
gh run list --limit 30 --json databaseId,workflowName,status,conclusion,headSha,headBranch,url gh run view <run-id> --log-failed
Verification
- •Run the same lint/test/build commands used by the failing workflow.
- •Do not claim fixed until local checks pass and CI rerun is green.
Notes
- •Prefer fixing root causes over retry-only changes.
- •Keep workflow edits auditable and minimal.