From e1a7c109baf1b0fb4357f84c4d49dd67bf79a0a3 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Thu, 12 Feb 2026 00:01:31 +0100 Subject: [PATCH] github-actions: Switch Claude to API key Co-developed-by: Claude Opus 4.6 Signed-off-by: Claude Opus 4.6 Signed-off-by: Robert Baldyga --- .github/workflows/claude-code-review.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 142b7365..fd1172ae 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -29,13 +29,21 @@ jobs: fetch-depth: 1 - name: Run Claude Code Review - id: claude-review if: steps.check-team.outputs.is_member == 'true' uses: anthropics/claude-code-action@v1 with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} github_token: ${{ secrets.GITHUB_TOKEN }} - plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' - plugins: 'code-review@claude-code-plugins' - prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}' + prompt: | + Review this pull request as a senior C kernel engineer familiar with the OCF codebase. + + Focus on: + - Memory safety and undefined behavior + - Race conditions and locking correctness + - ABI compatibility and API stability + - Adherence to Linux kernel coding style + - Performance implications + - Correctness of cache metadata and IO path changes + + Be specific with file:line references. Flag critical issues clearly.