ci(ai): L3-0000 Add Claude Code GitHub Workflow#885
Conversation
|
Important Testing in progress…🟢 UI Tests: 464 tests unchanged |
|
Tip All tests passed and all changes approved!🟢 UI Tests: 464 tests unchanged |
|
🚀 Storybook preview is ready. • Preview: https://68b9f094608b90f3cfec5a06-oboxpnlrxf.chromatic.com/ |
There was a problem hiding this comment.
Pull request overview
This PR adds GitHub Actions workflows to integrate the Anthropic Claude Code GitHub Action into the repo—one workflow triggered by @claude mentions in comments/reviews, and another that runs an automated Claude “code review” plugin on pull request events.
Changes:
- Added a
Claude Codeworkflow that triggers on PR/issue comment and PR review activity when@claudeis mentioned. - Added a
Claude Code Reviewworkflow that runs on PR lifecycle events and invokes a code-review plugin viaanthropics/claude-code-action@v1.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/claude.yml | Adds an on-demand Claude workflow triggered by @claude mentions in comments/reviews. |
| .github/workflows/claude-code-review.yml | Adds an automatic PR-triggered Claude code review workflow using the Claude Code action plugin mechanism. |
| if: | | ||
| (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || | ||
| (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) || | ||
| (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || | ||
| (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude'))) |
| issues: | ||
| types: [opened, assigned] | ||
| pull_request_review: | ||
| types: [submitted] |
| # github.event.pull_request.user.login == 'new-developer' || | ||
| # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' | ||
|
|
||
| runs-on: ubuntu-latest |
✅ Deploy Preview for phillips-seldon ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Can't merge until we have the GitHub Claude app installed on the seldon repo.... |
🤖 Installing Claude Code GitHub App
This PR adds a GitHub Actions workflow that enables Claude Code integration in our repository.
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.
Once the workflow is triggered, Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action.
Important Notes
Security
There's more information in the Claude Code action repo.
After merging this PR, let's try mentioning @claude in a comment on any PR to get started!