Add Claude Code GitHub workflow for @claude mentions#231
Merged
Conversation
Member
Author
|
I will probably YOLO merge this in a few hours, unless someone objects. Very easy to revert and unobtrusive by default (unlike #232 which seems more likely to actively annoy people). |
domdomegg
added a commit
that referenced
this pull request
Aug 8, 2025
## Summary - Adds GitHub Actions workflow to enable Claude Code integration via @claude mentions - Allows team to interact with Claude directly in PR and issue comments - Provides AI assistance for code reviews, bug fixes, documentation, and feature implementation ## What is Claude Code? [Claude Code](https://claude.ai/code) is an AI coding agent that can help with: - Bug fixes and improvements - Documentation updates - Implementing new features - Code reviews and suggestions - Writing tests - And more\! ## How it works Once this PR is merged, we'll be able to interact with Claude by mentioning @claude in a pull request or issue comment. Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action. ## Important Notes - **This workflow won't take effect until this PR is merged** - **@claude mentions won't work until after the merge is complete** - The workflow runs automatically whenever Claude is mentioned in PR or issue comments - Claude gets access to the entire PR or issue context including files, diffs, and previous comments ## Security - Our Anthropic API key is securely stored as a GitHub Actions secret - Only users with write access to the repository can trigger the workflow - All Claude runs are stored in the GitHub Actions run history - Claude's default tools are limited to reading/writing files and interacting with our repo by creating comments, branches, and commits - We can add more allowed tools by modifying the workflow file ## Test plan After merging this PR: 1. Create a test issue or PR 2. Add a comment mentioning @claude with a simple request 3. Verify Claude responds and the workflow runs successfully 4. Test on both issues and pull requests 🤖 Generated with [Claude Code](https://claude.ai/code)
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
What is Claude Code?
Claude Code is an AI coding agent that can help with:
How it works
Once this PR is merged, we'll be able to interact with Claude by mentioning @claude in a pull request or issue comment. Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action.
Important Notes
Security
Test plan
After merging this PR:
🤖 Generated with Claude Code