Repository navigation
Conversation
- Remove human actor validation to allow bot users to trigger Claude - Add comprehensive tests for bot user scenarios (dependabot, renovate, github-actions) - Update documentation to reflect bot user support is now available - Mark feature as completed in ROADMAP.md with checkmark emoji This enables automation and bot accounts to invoke Claude, which is useful for automated dependency updates, CI/CD workflows, and other bot-driven processes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Collaborator
|
@tomoish thanks for taking this on! I think we may want this to be an opt-in feature though, not something that happens by default. What do you think about an input like |
Collaborator
|
Something like #117, but just a bit more configurable maybe. |
Contributor
Author
|
Thank you for your checking! |
This was referenced Jul 2, 2025
|
Any update? Can't wait for this to come out! |
Add allowed_bots configuration option to the inputs documentation table and usage example, enabling users to control which bot accounts can trigger the Claude action. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Integrated bot trigger functionality with main branch changes including: - Added allowed_bots parameter alongside label_trigger - Maintained bot validation logic with new mode system - Preserved all new features from main (agent mode, OAuth tokens, etc.) - Updated test files to include both features 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Collaborator
|
@km-anthropic Thank you for letting me know! |
lroolle
added a commit
to thevibeworks/claude-code-action
that referenced
this pull request
Aug 4, 2025
- 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
lroolle
added a commit
to thevibeworks/claude-code-action
that referenced
this pull request
Aug 5, 2025
- 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
lroolle
added a commit
to thevibeworks/claude-code-action
that referenced
this pull request
Aug 6, 2025
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements the "Support triggering @claude from bot users" feature that was listed in our ROADMAP.md. Bot accounts (e.g., dependabot, renovate, github-actions) can now invoke Claude using the configured trigger phrase.
Closes #195
Changes Made
checkHumanActorfunction that was blocking bot users from triggering Claudesrc/entrypoints/prepare.tstest/bot-trigger-validation.test.tssrc/github/validation/actor.tsfileROADMAP Progress
This completes one of the key features from our path to v1.0. The ROADMAP.md has been updated to show this feature as completed with a checkmark emoji.
Security Considerations
Bot users still need write access to the repository to trigger Claude, maintaining the existing security model. The change only removes the artificial restriction on user type while preserving all other access controls.