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: |