Skip to content

Commit 1a824e0

Browse files
authored
feat(ci): bulletproof gemini-review workflow by removing tools whitelists and using default toolbox (#123)
1 parent 6acdb23 commit 1a824e0

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

.github/workflows/gemini-review.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -90,24 +90,10 @@ jobs:
9090
"GITHUB_PERSONAL_ACCESS_TOKEN",
9191
"ghcr.io/github/github-mcp-server:v0.27.0"
9292
],
93-
"includeTools": [
94-
"add_comment_to_pending_review",
95-
"pull_request_read",
96-
"pull_request_review_write"
97-
],
9893
"env": {
9994
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}"
10095
}
10196
}
102-
},
103-
"tools": {
104-
"core": [
105-
"run_shell_command(cat)",
106-
"run_shell_command(echo)",
107-
"run_shell_command(grep)",
108-
"run_shell_command(head)",
109-
"run_shell_command(tail)"
110-
]
11197
}
11298
}
11399
prompt: 'Please use the pull_request_read tool to read this PR. Analyze the code for bugs, security issues, and best practices. Then, use the add_comment_to_pending_review and pull_request_review_write tools to post your review directly.'

0 commit comments

Comments
 (0)