From 4f895a32eaa23b6d548eddba477931164f23ef14 Mon Sep 17 00:00:00 2001 From: Shangjie Chen Date: Wed, 13 May 2026 14:11:14 -0700 Subject: [PATCH] Align gemini-invoke with gemini-review and revert prompt changes --- .github/workflows/gemini-invoke.yml | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/gemini-invoke.yml b/.github/workflows/gemini-invoke.yml index 8fd37f1..42b2d16 100644 --- a/.github/workflows/gemini-invoke.yml +++ b/.github/workflows/gemini-invoke.yml @@ -92,34 +92,10 @@ jobs: "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server:v0.27.0" ], - "includeTools": [ - "add_issue_comment", - "issue_read", - "list_issues", - "search_issues", - "pull_request_read", - "list_pull_requests", - "search_pull_requests", - "get_commit", - "get_file_contents", - "list_commits", - "search_code" - ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}" } } - }, - "tools": { - "core": [ - "run_shell_command(cat)", - "run_shell_command(echo)", - "run_shell_command(grep)", - "run_shell_command(head)", - "run_shell_command(tail)" - ] } } - prompt: |- - /gemini-invoke - [IMPORTANT] When you need to call tools to read GitHub information, please use names like `issue_read` and `pull_request_read` directly. Do NOT add any prefixes like `github:` or `mcp_github_`! + prompt: '/gemini-invoke'