Uh oh!
There was an error while loading. Please reload this page.
fix(sync): grant id-token:write — claude-code-action mints its App token via OIDC (backend#1494) - #85
Merged
Merged
Conversation
…ken via OIDC (backend#1494) Third distinct rot layer excavated since the token landed: v1.0.x of the action exchanges an OIDC token for a GitHub App token even with anthropic_api_key set, and this workflow predates that requirement. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Layer three of sync-docs' 84-day rot, each one real and differently named: (1)
SOURCE_REPOS_TOKENunprovisioned → fixed by Lukas today; (2) staleref: masterfor the two renamed repos → #84; (3) this —anthropics/claude-code-actionv1.0.x exchanges an OIDC token for a GitHub App token even whenanthropic_api_keyis supplied, and the job's permissions block predates that requirement:Unable to get ACTIONS_ID_TOKEN_REQUEST_URL.One line:
id-token: writeadded to permissions (the Claude App is installed org-wide, so the exchange path is live). Fetch step already fully green post-#84 — all 5 sources.🤖 Generated with Claude Code
Note
Low Risk
Single workflow permission addition with no application or data-path changes; aligns permissions with an existing third-party action requirement.
Overview
Adds
id-token: writeto the workflow-levelpermissionsblock in sync-docs soanthropics/claude-code-actionv1.0.x can request an OIDC token and exchange it for a GitHub App token. That OIDC path runs even whenanthropic_api_keyis set; without this permission the job fails with Unable to get ACTIONS_ID_TOKEN_REQUEST_URL.An inline comment documents the failure mode and ties it to backend#1494.
Reviewed by Cursor Bugbot for commit 6b0d6a4. Bugbot is set up for automated code reviews on this repo. Configure here.