Skip to content

Comments

fix(ci): use github token instead of oidc for claude review#3539

Merged
FabianKramm merged 1 commit intomainfrom
fix/claude-code-review-github-token-v2
Jan 29, 2026
Merged

fix(ci): use github token instead of oidc for claude review#3539
FabianKramm merged 1 commit intomainfrom
fix/claude-code-review-github-token-v2

Conversation

@Piotr1215
Copy link
Contributor

@Piotr1215 Piotr1215 commented Jan 28, 2026

Summary

  • Use explicit github_token instead of OIDC token exchange with Claude GitHub App
  • Changed pull-requests permission from read to write so Claude can post review comments
  • Switched to standard ANTHROPIC_API_KEY secret name

Why

The Claude GitHub App OIDC token exchange was failing with "Invalid OIDC token" error. The onboarding flow on claude.ai that links the GitHub App to Anthropic account appears broken. Using explicit GitHub token bypasses this entirely.

References DEVOPS-499

the oidc token exchange with claude github app was failing with
'invalid oidc token'. using explicit github_token bypasses the
oidc flow entirely.

also changed pull-requests permission from read to write so claude
can post review comments.
@FabianKramm FabianKramm merged commit 9d6daac into main Jan 29, 2026
36 of 38 checks passed
@FabianKramm FabianKramm deleted the fix/claude-code-review-github-token-v2 branch January 29, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants