Broken Workflow Repair
Automates the detection and resolution of failing CI/CD workflows by iteratively inspecting the latest GitHub Actions run, analyzing failures, and applying c…
This loop is republished with attribution. Full credit and the original content belong to the source linked above.
AI Skill Market Insights
Real data. Real impact.
Emerging
Developers
Kickoff Prompt
Copy this prompt and run it with your agent to start the loop.
Start the "Broken Workflow Repair" loop.
Goal: Fix failing workflows
Max iterations: 10
Between iterations run: gh run list
Exit when: Latest workflow successful
Analyze the latest GitHub Actions workflow run. If it failed, inspect the logs to identify the cause of failure, then modify the appropriate source or configuration files to fix the issue. Commit and push your changes, then re-check the workflow status. Repeat this process until the latest workflow run succeeds or you've reached 10 iterations.
Self-pace this loop. After each iteration, run `gh run list` and evaluate the output, and only continue if the exit condition is not met (Latest workflow successful). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.