Commit b8dcd5f
authored
fix: enforce COMMENT event type for submit_pending_pull_request_review (#271)
- Explicitly specify event type 'COMMENT' for MCP tool
submit_pending_pull_request_review
- Add clear instructions listing all available event types (APPROVE,
REQUEST_CHANGES, COMMENT)
- Explicitly prohibit use of APPROVE and REQUEST_CHANGES event types
- Ensures bot only comments on PRs and never approves them automatically
- Note: Best practices already recommend branch protection rules and PR
approval restrictions (see
[docs/best-practices.md](https://github.com/google-github-actions/run-gemini-cli/blob/main/docs/best-practices.md))1 parent e9848a9 commit b8dcd5f
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments