Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/label-pr-review-state.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,12 @@ jobs:
const codeRabbitLogin = 'coderabbitai[bot]';
const codeRabbitLogins = new Set([codeRabbitLogin, 'coderabbitai']);
const codeRabbitActiveLabel = 'coderabbit-review-active';
const codeRabbitEligibleBotLogins = new Set(['zoomote[bot]']);
// CodeRabbit skips bot-authored PRs and no longer approves
// them, so a bot-authored PR can never complete the
// automated-review wait (issue #2867). No bot login is
// eligible today; keep the set so a login can re-enroll
// if automated review for bot PRs returns.
const codeRabbitEligibleBotLogins = new Set([]);
// Advisory priority signal only — kept outside stateLabels so it never
// replaces or blocks the review-state queue labels.
const communityApprovedLabel = 'community-approved';
Expand Down
2 changes: 2 additions & 0 deletions contrib/roo/roo/commands/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ mode: code
11. Once the release PR is open and passing checks, get it approved by a reviewer before proceeding.

- Do not create the tag until the PR has at least one approval — the publish workflow enforces this automatically and will fail if no approved PR is found for the tagged commit.
- The `Zoo Code / PR review gate` commit status is set by the `Label PR review state` workflow. It turns green when required CI passes and the review sequence completes. Release PRs are bot-authored, so the automated-review wait is skipped for them: a fresh human maintainer approval on the latest commit turns the gate green.
- Fallback rule: if the gate stays pending only because it still waits for automated review, and the release PR is bot-authored with human approval and green required CI, proceed with the tag. This can happen when the release branch predates the gate fix on `main`, because the workflow change only takes effect after it merges and the gate re-runs.

12. After the PR is approved, create the release tag on the release branch tip and push it:

Expand Down
32 changes: 26 additions & 6 deletions src/services/__tests__/pr-review-state-workflow.test.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading