From 1fdd627c8014e896bf4797b59298498be5d6a5fc Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Tue, 13 Jan 2026 20:00:15 +0800 Subject: [PATCH] ci: switch to use claude API key --- .github/workflows/claude-code-review.yml | 2 +- .github/workflows/claude.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 185d543b75c..691a6c6a3a3 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -35,7 +35,7 @@ jobs: id: claude-review uses: anthropics/claude-code-action@v1 with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + anthropic_api_key: ${{ secrets.CLAUDE_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }} prompt: | REPO: ${{ github.repository }} diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 8fa9273605c..52198958deb 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -34,7 +34,7 @@ jobs: id: claude uses: anthropics/claude-code-action@v1 with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + anthropic_api_key: ${{ secrets.CLAUDE_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }} # This is an optional setting that allows Claude to read CI results on PRs