PR Watch Loop已精选
Poll open PRs labeled codex-watch every 15 minutes, review activity, and flag regressions or stale threads.
基本信息
分类
持续集成
目标
keep codex-watch PRs healthy and unblocked.
检查命令
gh pr list --label codex-watch --json number,title,state,statusCheckRollup
退出条件
status report is delivered for every watched PR.
支持的智能体
Codex, Cursor
启动提示词
/loop 15m Start the "PR Watch Loop".
Goal: keep codex-watch PRs healthy and unblocked.
Between iterations run: gh pr list --label codex-watch --json number,title,state,statusCheckRollup
Exit when: status report is delivered for every watched PR.
Step 1: List codex-watch PRs, check CI and reviews, and report or fix trivial blockers.步骤
- 1
List watched PRs
List open PRs with the codex-watch label. Summarize CI status, review state, and last activity.
gh pr list --label codex-watch --json number,title,state,statusCheckRollup - 2
Check CI and reviews
For each watched PR, check failing checks, unresolved review comments, and merge conflicts.
- 3
Report or act
Post a brief status update. Fix trivial CI failures or ping the author for blockers.
更多 持续集成 相关内容
CI Failure Watcher
Poll CI on an interval, investigate failures when checks go red, and push fixes until green.
Fix CI Until Green
Fetch the latest failed CI run, reproduce the failure locally, fix it, and repeat until checks pass.
PR Babysitter
Every 15 minutes, inspect open PRs with a watch label: nudge reviewers, fix CI, rebase if behind main.
Ship PR Until Green
Implement on a branch, run tests, push, open a PR, wait for CI, and loop until checks pass and the PR is ready to merge.
评论