Skip to content

🛡️ Report a list of tools that were denied due to insufficient permissions when used by Claude Code Action

License

Notifications You must be signed in to change notification settings

koki-develop/claude-denied-tools

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Claude Denied Tools Action

GitHub Release CI Build

Report a list of tools that were denied due to insufficient permissions when used by Claude Code Action.

screenshot

Usage

This action analyzes Claude Code Action execution logs to identify tools that were denied due to insufficient permissions.
It automatically posts a detailed report to your PR or Issue, helping you understand which tool permissions need to be configured.

- uses: anthropics/claude-code-action@beta
  id: claude
  with:
    # ... your Claude Code Action configuration
- uses: koki-develop/claude-denied-tools@v1
  with:
    # Pass the execution file from the Claude Code Action
    claude-code-execution-file: ${{ steps.claude.outputs.execution_file }}

Required Permissions:

permissions:
  pull-requests: write # Required to post comments on PRs
  issues: write # Required to post comments on Issues
  # ...

Inputs

Name Description Required Default
claude-code-execution-file The outputs.execution_file from anthropics/claude-code-action Yes -
github-token GitHub token for API access No ${{ github.token }}
sticky-comment If true, updates existing comment instead of creating new ones for each run No false
skip-comment If true, skip creating/updating PR/Issue comments No false

Outputs

Name Description
report Markdown-formatted report of denied tool executions
denied-tools List of denied tools (JSON format)
found Whether any denied tools were found (boolean)

License

MIT

About

🛡️ Report a list of tools that were denied due to insufficient permissions when used by Claude Code Action

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •