Skip to content

Commit 664fbb9

Browse files
[ci] code review: disable Remote Control in headless Claude run (#548)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3d4d5a8 commit 664fbb9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/code_review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ jobs:
116116
claude -p \
117117
--output-format stream-json \
118118
--verbose \
119+
--settings '{"disableRemoteControl": true}' \
119120
--mcp-config "$MCP_CONFIG" \
120121
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr comment:*),Read,Grep,Glob,Agent" \
121122
-- "/review-pr REPO: ${{ github.repository }} PR_NUMBER: ${PR_NUMBER}"

0 commit comments

Comments
 (0)