Repository navigation
Conversation
e318b9d to
4178164
Compare
1a6a377 to
9086e70
Compare
|
👋 Hey! I found some related PRs that implement similar bot actor functionality: Related/Duplicate PRs:
Current implementation comparison:
Our approach strikes a good balance - secure by default, simple to configure, explicit opt-in. The security fixes included here also address critical permission validation issues found during review. Example usage can be seen at https://github.com/thevibeworks/claude-code-docs/blob/main/.github/workflows/claude-code-review.yml |
3a56256 to
391081f
Compare
391081f to
d2e6907
Compare
- Add allow_bot_actor parameter to enable GitHub bots to trigger Claude Code Action - Implement robust bot write permission validation - Use repo.permissions for comprehensive access checks - Handle both collaborator and installation permissions - Add comprehensive test coverage for bot scenarios - Update documentation with security considerations This enables automated workflows like documentation updates, CI-triggered code reviews, and scheduled maintenance while maintaining security through explicit opt-in and proper permission validation.
d2e6907 to
b537806
Compare
|
Any update on this PR? Currently using a private fork of this repo but we do not have the bandwidth to maintain 1:1 parity with this repo. Would love if support for bot actors is added, would allow for more meaningful automation scenarios. |
- Add allow_bot_actor parameter to enable GitHub bots to trigger Claude Code Action - Implement robust bot write permission validation - Add test coverage for bot scenarios - Update documentation with security considerations This enables automated workflows like documentation updates, CI-triggered code reviews, and scheduled maintenance while maintaining security through explicit opt-in and proper permission validation. Relevant works: anthropics#388 anthropics#280 anthropics#194 anthropics#117
- Add allow_bot_actor parameter to enable GitHub bots to trigger Claude Code Action - Implement robust bot write permission validation - Add test coverage for bot scenarios - Update documentation with security considerations This enables automated workflows like documentation updates, CI-triggered code reviews, and scheduled maintenance while maintaining security through explicit opt-in and proper permission validation. Relevant works: anthropics#388 anthropics#280 anthropics#194 anthropics#117
- Add allow_bot_actor parameter to enable GitHub bots to trigger Claude Code Action - Implement robust bot write permission validation - Add test coverage for bot scenarios - Update documentation with security considerations This enables automated workflows like documentation updates, CI-triggered code reviews, and scheduled maintenance while maintaining security through explicit opt-in and proper permission validation. Relevant works: anthropics#388 anthropics#280 anthropics#194 anthropics#117
Add allow_bot_actor parameter for automated workflows
This PR adds an
allow_bot_actorparameter to enable bot actors (including GitHub Apps, github-actions[bot], etc.) to trigger Claude Code Action.Why This Change?
Currently, only human users can trigger Claude. This prevents legitimate automation scenarios like:
Implementation Details
1. New Parameter
2. Security Model
allow_bot_actor: true3. Example Usage
From our claude-code-docs repository:
Essential configuration for bot actors:
allow_bot_actor: truein your workflowWhat This Enables
github-actions[bot]can trigger Claude IF it has write permissionsTesting
Comprehensive test coverage added: