Commit 61cba69
chore(ci): add Claude Code Action for auto PR review and @claude Q&A
Adds .github/workflows/claude.yml which triggers on:
- pull_request opened/synchronize/reopened -> automatic first-pass review
- issue_comment / pull_request_review_comment containing "@claude" -> on-demand reply
Safety guards:
- Skips Dependabot PRs (dep bumps don't benefit from LLM review)
- Skips fork PRs (GITHUB_TOKEN can't write to forks)
- Skips bot-authored comments (avoids reply loops)
- 15 min job timeout + --max-turns 5 cap on Claude conversation length
- Pinned to claude-opus-4-6
Requires ANTHROPIC_API_KEY secret to be configured in repo settings before
this workflow starts passing. Without it, runs will fail fast with a missing
credential error (not silently).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 560555a commit 61cba69
1 file changed
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments