Skip to content

Commit e1a7c10

Browse files
committed
github-actions: Switch Claude to API key
Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
1 parent a538501 commit e1a7c10

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/claude-code-review.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,21 @@ jobs:
2929
fetch-depth: 1
3030

3131
- name: Run Claude Code Review
32-
id: claude-review
3332
if: steps.check-team.outputs.is_member == 'true'
3433
uses: anthropics/claude-code-action@v1
3534
with:
36-
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
35+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3736
github_token: ${{ secrets.GITHUB_TOKEN }}
38-
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
39-
plugins: 'code-review@claude-code-plugins'
40-
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
37+
prompt: |
38+
Review this pull request as a senior C kernel engineer familiar with the OCF codebase.
39+
40+
Focus on:
41+
- Memory safety and undefined behavior
42+
- Race conditions and locking correctness
43+
- ABI compatibility and API stability
44+
- Adherence to Linux kernel coding style
45+
- Performance implications
46+
- Correctness of cache metadata and IO path changes
47+
48+
Be specific with file:line references. Flag critical issues clearly.
4149

0 commit comments

Comments
 (0)