Skip to content

Commit 8e109de

Browse files
Merge branch 'main' into fix-private-key-zeroization
2 parents 624dba4 + 15b0122 commit 8e109de

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Claude Review
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, ready_for_review, reopened]
5+
6+
concurrency:
7+
group: claude-review-${{ github.event.pull_request.number }}
8+
cancel-in-progress: true
9+
10+
permissions: {}
11+
12+
jobs:
13+
review:
14+
if: github.event.pull_request.draft == false && github.event.pull_request.head.repo.fork == false
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
pull-requests: write
19+
id-token: write
20+
steps:
21+
- uses: actions/checkout@v6
22+
with:
23+
fetch-depth: 1
24+
25+
- uses: anthropics/claude-code-action@v1
26+
with:
27+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
28+
track_progress: true
29+
prompt: |
30+
REPO: ${{ github.repository }}
31+
PR NUMBER: ${{ github.event.pull_request.number }}
32+
33+
Please review this pull request with a focus on:
34+
- Code quality and best practices
35+
- Potential bugs or issues
36+
- Security implications
37+
- Performance considerations
38+
39+
Provide detailed feedback using inline comments for specific issues.
40+
41+
claude_args: |
42+
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"

0 commit comments

Comments
 (0)