Watch Pr CI

Watch a PR's CI until it is green, fixing what goes red.

sherifabdlnaby Updated

File contents

watch-pr-ci

Same contract as watch-pr (target PR, time budget, the sub-agent, the verdict reactions), narrowed to CI: load the git skill and its watch reference, skip review-responses, the flick and the existing-threads pass; reviews do not wake you and are not addressed. forever here drops the budget and keeps --until green.

python3 <git-skill-dir>/scripts/pr-watch.py watch --pr <N> --repo <OWNER/REPO> --watcher <id> --until green --on fail,done,state --max-total <s>

On a red check: debug from its link, fix, push, relaunch. On DONE: a one-line digest, what went red and what fixed it.

sherifabdlnaby/skills/tree/main/skills/variants/watch-pr-ci commit c09cb1d733

Frequently asked questions

npx skillmds@latest add sherifabdlnaby/watch-pr-ci