Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/claude-executor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ on:
required: false
type: string
default: 'us-east-1'
allowed_bots:
description: 'Comma-separated bot usernames allowed to trigger the action, or "*" for all bots. Defaults to "claude" so the Claude Code GitHub App can trigger reviews; pass "" to block all bots.'
required: false
type: string
default: 'claude'
secrets:
ANTHROPIC_API_KEY:
description: 'Anthropic API key — required when provider=anthropic-api, ignored otherwise'
Expand Down Expand Up @@ -185,6 +190,7 @@ jobs:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
prompt: ${{ inputs.prompt }}
claude_args: ${{ steps.args.outputs.composed }}
allowed_bots: ${{ inputs.allowed_bots }}
use_sticky_comment: "true"
track_progress: "true"

Expand All @@ -197,6 +203,7 @@ jobs:
use_bedrock: "true"
prompt: ${{ inputs.prompt }}
claude_args: ${{ steps.args.outputs.composed }}
allowed_bots: ${{ inputs.allowed_bots }}
use_sticky_comment: "true"
track_progress: "true"
env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/claude-orchestrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ on:
required: false
type: string
default: ''
allowed_bots:
description: 'Comma-separated bot usernames allowed to trigger the action, or "*" for all bots. Defaults to "claude" so the Claude Code GitHub App can trigger reviews; pass "" to block all bots. Applies to the Anthropic path only.'
required: false
type: string
default: 'claude'
secrets:
ANTHROPIC_API_KEY:
description: 'Anthropic API key — required only when using the direct Anthropic API path (model_id empty)'
Expand Down Expand Up @@ -186,6 +191,7 @@ jobs:
model_id: ${{ inputs.model_id }}
bedrock_role_arn: ${{ inputs.bedrock_role_arn }}
aws_region: ${{ inputs.aws_region }}
allowed_bots: ${{ inputs.allowed_bots }}
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}

Expand Down
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ Sophisticated version comparison supporting dotCMS format: `YY.MM.DD[-REBUILD][_
- **Default Tools**: `git status` and `git diff`
- **Mention Detection**: Case-insensitive @claude in comments, reviews, issues, and PRs
- **Concurrency**: Consumer repositories should implement concurrency control to prevent duplicate runs
- **Allowed Bots**: `allowed_bots` defaults to `claude`, so the Claude Code GitHub App can trigger reviews on PRs/pushes it initiates. `claude-code-action` otherwise blocks bot-initiated runs. Pass `allowed_bots: ""` to block all bots, or `"*"` to allow any (e.g. dependabot, renovate). Applies to the Anthropic path only.

### Deployment Guard
- **Organization bypass**: Disabled by default (must configure `trusted_organization`)
Expand Down
Loading