Fix: Add CLAUDE_CREDENTIALS env var back to prepare step

The prepare step needs access to the credentials to extract the OAuth token
This commit is contained in:
claude
2025-07-29 21:36:17 +00:00
parent 8d61fbcfc2
commit 5bab3fdadc

View File

@@ -109,6 +109,7 @@ runs:
GITEA_API_URL: ${{ env.GITHUB_SERVER_URL }}
# Only set ANTHROPIC_API_KEY if not using OAuth
ANTHROPIC_API_KEY: ${{ inputs.anthropic_api_key != 'use-oauth' && inputs.anthropic_api_key || '' }}
CLAUDE_CREDENTIALS: ${{ inputs.claude_credentials }}
- name: Run Claude Code
id: claude-code