Workflow Until Zero Failures
This loop automates the process of identifying, fixing, and resolving CI/CD workflow failures. It continuously monitors GitHub Actions workflow runs, inspect…
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 "Workflow Until Zero Failures" loop.
Goal: Fix workflow failures
Max iterations: 10
Between iterations run: gh run list
Exit when: Workflow succeeds
Start by running 'gh run list' to check the most recent GitHub Actions workflow runs. Identify any failed workflows, inspect their logs to determine the underlying issues, and apply targeted fixes. After each fix, commit your changes and push them to trigger new workflow runs. Continue this cycle until all workflows pass successfully or you reach 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 (Workflow succeeds). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.