-
Notifications
You must be signed in to change notification settings - Fork 1
Add claude GitHub actions 1766512409314 #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds two GitHub Actions workflows to integrate Claude AI capabilities into the repository: one for on-demand Claude interactions via comment mentions, and another for automated code reviews on pull requests.
- Adds interactive Claude workflow triggered by @claude mentions in issues and PR comments
- Adds automated Claude code review workflow for pull requests when opened or synchronized
- Configures appropriate permissions and authentication for both workflows
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/claude.yml |
Implements on-demand Claude integration triggered by @claude mentions in issues, PRs, and comments |
.github/workflows/claude-code-review.yml |
Implements automated Claude code review for pull requests with customized review prompts |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # This is an optional setting that allows Claude to read CI results on PRs | ||
| additional_permissions: | | ||
| actions: read | ||
Copilot
AI
Dec 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The additional_permissions setting is redundant since actions: read is already declared in the top-level permissions block (line 26). Specifying the same permission twice may cause confusion about which takes precedence and is unnecessary.
| # This is an optional setting that allows Claude to read CI results on PRs | |
| additional_permissions: | | |
| actions: read |
|
|
||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read |
Copilot
AI
Dec 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The claude-code-review.yml workflow is missing the actions: read permission that is present in claude.yml. This permission is required for Claude to read CI results on PRs. Since this workflow runs on pull requests and reviews code, it should have the same permission to access CI results for a complete review context.
| contents: read | |
| contents: read | |
| actions: read |
| @@ -0,0 +1,50 @@ | |||
| name: Claude Code | |||
Copilot
AI
Dec 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow name has an inconsistent naming pattern. The first workflow is named "Claude Code" while this one is "Claude Code Review". For consistency and clarity, consider using a more descriptive name for the first workflow (e.g., "Claude Interactive" or "Claude On-Demand") to better distinguish between the two workflows.
| name: Claude Code | |
| name: Claude Interactive |
No description provided.