Skip to content

ci: stop Gemini Code Assist reviewing every PR on open - #46

Closed
kriszyp wants to merge 1 commit into
mainfrom
ci/gemini-app-no-auto-review
Closed

kriszyp wants to merge 1 commit into
mainfrom
ci/gemini-app-no-auto-review

Conversation

@kriszyp

@kriszyp kriszyp commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

⊙ Problem

Post-push AI review was meant to be retired on 2026-10-31 by setting the GEMINI_ALWAYS_ON repo variable to false. That variable only gates the label opt-in gemini-review.yml workflow, which has been skipped on every run since at least September.

The gemini-code-assist[bot] comments come from the Gemini Code Assist GitHub App. With no .gemini/config.yaml, the App's default applies: it reviews every PR when it opens.

💡 Solution

Add .gemini/config.yaml with the pull_request_opened keys help, summary and code_review all false. The App no longer posts help, a summary or a review when a PR opens.

To request a review, comment /gemini review on the PR. I used pull_request_opened.code_review: false rather than code_review.disable: true so that command still works, like the workflow's label opt-in. Schema: customize repo review.

🤔 Keep the file's comments as specified

The pre-push review suggested dropping the first two comment lines as redundant. I kept them: the task gave the file content exactly, and they record why the file exists.

✅ Verification

  • YAML parses and has the expected structure (checked with the yaml package).
  • Pre-push review (Codex, Gemini, Harper domain pass): no correctness findings; one comment nit, declined above.
  • Not observable until the next PR opens: that PR should get no automatic help, summary or review, and /gemini review should still trigger one.

No linked issue. The gemini-review.yml workflow, GEMINI_ALWAYS_ON and Claude review settings are untouched. No docs in this repo describe Gemini auto-review.

— Claude Sonnet 5.5

🤖 Generated with Claude Code

Related PRs: none found

Complexity: easy

Origin — the dispatch brief this PR was written from

Add .gemini/config.yaml with exactly this content, so the gemini-code-assist GitHub App no longer reviews or summarizes every PR when it opens:

Gemini Code Assist (GitHub App) review settings.

Post-push AI review is retired: no automatic review or summary when a PR opens.

Comment /gemini review on a PR to request one.

code_review:
pull_request_opened:
help: false
summary: false
code_review: false

Open a draft PR.

Acceptance

Only .gemini/config.yaml changes (plus any doc sentence that describes gemini auto-review). YAML parses. PR body states the reason above and how to request a review (/gemini review). Verification route: not observable until the next PR opens; say so.

Dispatch: task integration-testing-gemini-app-autoreview-off · queued by kris-session/dlc-postmortem · ran by claude/sonnet/high · worker kzyp-xps-1

Ready-For-Promotion: acc80dd urgency=normal late=none

Review-Coverage: authored=claude; ran=gemini,codex; adjudicated=domain; declined=cursor-grok,cursor-composer,muse; rounds=1; full=1 @ acc80dd

Review-Attention: skim ~2m (decisions: per-repo-vs-org-setting, keep-manual-trigger) @ acc80dd

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Dispatch-Task: integration-testing-gemini-app-autoreview-off
@kriszyp
kriszyp marked this pull request as ready for review November 10, 2026 04:11
@Ethan-Arrowood

Copy link
Copy Markdown
Member

No longer needed; we've disabled the gemini code review bot on the org entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants