Skip to content

fix: add Claude Code project settings for tool auto-approval - #8

Merged
toolpathguy merged 1 commit into
mainfrom
fix/claude-permissions
Jul 22, 2026
Merged

fix: add Claude Code project settings for tool auto-approval#8
toolpathguy merged 1 commit into
mainfrom
fix/claude-permissions

Conversation

@toolpathguy

Copy link
Copy Markdown
Owner

Relates to #5

Problem

Claude Code ran successfully (39 turns, success result) but never posted a review comment on PR #3. The logs show 13 permission denials — Claude was being prompted to approve tool usage but had no way to respond in the non-interactive CI environment.

Fix

Added .claude/settings.json with a permissions.allow list that auto-approves the file-reading and git tools Claude needs for code review. The action restores this file from origin/main before running Claude, so it'll be available on future review runs.

Note

The GitHub-specific tools (PR comments, reviews) are injected by the action itself and should work without explicit approval. The 13 denials were likely from Read, Grep, Bash(git diff:*) etc. needing approval each time they were called.

@toolpathguy
toolpathguy merged commit 3a27b0d into main Jul 22, 2026
1 of 2 checks passed
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