-
Notifications
You must be signed in to change notification settings - Fork 50
feat: Add Claude Code Action automated PR review workflow #81
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - uses: anthropics/claude-code-action@v1 | ||
| with: | ||
| anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} | ||
| track_progress: true |
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.
Guard Claude review job when secrets are unavailable
This workflow executes on every pull_request, but it unconditionally passes secrets.ANTHROPIC_API_KEY into anthropics/claude-code-action@v1. For PRs that originate from forks (the default case for external contributors), GitHub does not expose repository secrets to the workflow, so this step will fail at startup and mark the whole check as failed even though the PR author cannot fix it. Consider skipping the job for forked PRs or conditionally running the step only when the secret is set, otherwise community submissions will always see a broken required check.
Useful? React with 👍 / 👎.
|
✅ All checks have passed successfully!
Coverage reports have been uploaded as artifacts. |
|
✅ All checks have passed successfully!
Coverage reports have been uploaded as artifacts. |
|
✅ All checks have passed successfully!
Coverage reports have been uploaded as artifacts. |
This PR introduces automated code review using Claude Code Action on all pull
requests.
Changes
account
Fork-friendly implementation
failures
condition
Configuration
This automation will help maintain code quality and catch potential issues early
while remaining friendly to community contributions.