← Registry
Loop Official

Fix CI Until Green

Fetch the latest failed CI run, reproduce the failure locally, fix it, and repeat until checks pass.

Loop

Goal
latest CI run on this branch passes
Exit when
latest run conclusion is success

Check between iterations

gh run list --branch $(git branch --show-current) --limit 1 --json conclusion -q '.[0].conclusion'
$

Kickoff prompt

Start the "Fix CI Until Green" loop. Goal: latest CI run on this branch passes Max iterations: 8 Between iterations run: gh run list --branch $(git branch --show-current) --limit 1 --json conclusion -q '.[0].conclusion' Exit when: latest run conclusion is success Step 1: Fetch the latest failed CI run, reproduce the failure locally, fix it, and repeat until checks pass.