From 08ae1456c26e55f1e8597c84643bb618074f52ce Mon Sep 17 00:00:00 2001 From: Param Harrison Date: Sun, 1 Nov 2026 15:19:30 +0200 Subject: [PATCH] Review job: use the subscription token Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/review.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index d4e86e9..b1b48b2 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -23,7 +23,8 @@ jobs: - run: npm ci - uses: anthropics/claude-code-action@d70510b174a1244958df0b03166a54912811f3e6 # v1 with: - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + # Subscription token: the API key's credit did not cover the Claude Code client ("Credit balance is too low"). + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} # Without this the action asks for an OIDC token, which needs id-token: write. github_token: ${{ secrets.GITHUB_TOKEN }} prompt: |