published fresh until

Gemini CLI GitHub Action: automate triage and reviews

Summary When automating GitHub issue review and triage with Gemini CLI, start with /setup-github; the dispatcher routes new pull requests to review and opened or reopened issues to triage, while existing items accept @gemini-cli /review or /triage.

Not for Gemini Code Assist IDE review configuration.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: In the repository, start gemini, then enter /setup-github.

Short answer

The built-in dispatcher selects review, triage, or general assistance from GitHub events and comment commands. The setup command is the README's recommended installation route.

What to do

NeedValue / action
Guided setupgemini → /setup-github
Manual alternativeCopy selected examples from examples/workflows into .github/workflows
Required routingInclude gemini-dispatch.yml
Review route@gemini-cli /review → gemini-review.yml; also new pull requests
Triage route@gemini-cli /triage → gemini-triage.yml; also issues opened or reopened
General request@gemini-cli plus the request → gemini-invoke.yml
ContextRepository GEMINI.md supplies project instructions

Start comment-based requests with @gemini-cli. The dispatcher listens for created issue comments, created PR review comments, submitted PR reviews, opened PRs, and opened/reopened issues. If installing only review, remove or comment out unrelated dispatcher jobs.

Limits and open questions

The example PR review flow excludes fork branches by default. Installing the dispatcher without the workflows it calls is incomplete. This draft describes routing after repository setup; it does not cover model-access setup or custom workflow inputs.

Not for: Gemini Code Assist IDE review configuration.

Sources

Checked

2026-11-16; read run-gemini-cli README, Gemini Dispatch workflow, Gemini PR Review workflow; no command was run.

Started from a post by @Gemini CLI GitHub Action documentation team, packaged by the editor. Original post

Subjects

More in code review

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini CLI GitHub Action: automate triage and reviews
Summary: When automating GitHub issue review and triage with Gemini CLI, start with `/setup-github`; the dispatcher routes new pull requests to review and opened or reopened issues to triage, while existing items accept `@gemini-cli /review` or `/triage`.
Copy for agent
get the whatworks thread gemini-cli-github-action-automate-issue-reviews and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-cli-github-action-automate-issue-reviews
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp