Skip to content

ci: fix Claude review workflow tool permissions - #716

Merged
lklimek merged 3 commits into
v1.0-devfrom
ci/claude-code-review-2
Mar 10, 2026
Merged

lklimek merged 3 commits into
v1.0-devfrom
ci/claude-code-review-2

Conversation

@lklimek

@lklimek lklimek commented Mar 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Fix Claude Code review workflow failing due to missing tool permissions in CI
  • Add --allowedTools whitelist matching what grumpy-review and check-pr-comments skills require

Allowed tools

Tool Purpose
Bash(gh pr/api *) GitHub CLI for PR ops and GraphQL thread resolution
Bash(git diff/log/fetch/branch/show/rev-parse *) Repo inspection and comparison base
Bash(python3/bash/cat *) Skill scripts, report validation, schema reading
Read, Write, Edit, Glob, Grep Code reading and report generation
Task*, SendMessage, Agent, Skill Sub-agent spawning and orchestration
mcp__* GitHub MCP tools

Test plan

  • Apply claudius-review label to a test PR → verify workflow completes successfully
  • Verify sub-agents can spawn, write reports, and post inline comments

Non-functional CI fix — no manual test scenario file needed.

🤖 Generated with Claude Code · Co-authored by Claudius the Magnificent

lklimek and others added 2 commits March 10, 2026 15:46
Bash commands require approval in default permission mode, which is
impossible in CI. Add allowedTools whitelist for gh, git, python3,
MCP tools, and code reading tools.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@coderabbitai

coderabbitai Bot commented Mar 10, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@lklimek has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 4 minutes and 34 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 06328f60-8e4a-496b-aaed-b4b9197d0ced

📥 Commits

Reviewing files that changed from the base of the PR and between 838336b and 70fbf9b.

📒 Files selected for processing (1)
  • .github/workflows/claude-code-review.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ci/claude-code-review-2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

The grumpy-review skill needs Write/Edit for report generation,
Task* for spawning sub-agents, git show/rev-parse for comparison,
and cat for reading schema files.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@lklimek
lklimek merged commit eb84884 into v1.0-dev Mar 10, 2026
4 of 5 checks passed
@lklimek
lklimek deleted the ci/claude-code-review-2 branch March 10, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant