Skip to content

Commit 0341486

Browse files
committed
PMM-7 Authenticate with a subscription OAuth token
Needs a CLAUDE_CODE_OAUTH_TOKEN secret (claude setup-token) instead of ANTHROPIC_API_KEY. Note the token is tied to the subscription of whoever generates it, so an org-level API key remains the better answer once one exists. Signed-off-by: travagliad <215686151+travagliad@users.noreply.github.com>
1 parent 4b28541 commit 0341486

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
id: claude
4545
uses: anthropics/claude-code-action@e90deca47693f9457b72f2b53c17d7c445a87342 # v1.0.171
4646
with:
47-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
47+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
4848
# The job's `actions: read` permission only takes effect once the
4949
# action requests it; without this the mcp__github_ci__* tools that
5050
# read CI results are not available.

0 commit comments

Comments
 (0)