Skip to content

Conversation

@david-fraley
Copy link
Collaborator

@david-fraley david-fraley commented Dec 11, 2025

Summary

  • Adds id-token: write permission to the classify-issue-severity workflow

Problem

The workflow was failing with:

Failed to setup GitHub token: Error: Could not fetch an OIDC token. 
Did you remember to add `id-token: write` to your workflow permissions?

Solution

The claude-code-action requires OIDC token authentication. Added the required id-token: write permission to the workflow's permissions block.

Test plan

  • Merge PR
  • Apply triage-check label to a test issue
  • Verify workflow runs successfully

🤖 Generated with Claude Code

The claude-code-action requires OIDC token authentication, which needs
the id-token: write permission to be granted to the workflow.

Fixes the error:
"Failed to setup GitHub token: Error: Could not fetch an OIDC token.
Did you remember to add `id-token: write` to your workflow permissions?"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@david-fraley david-fraley force-pushed the fix/workflow-oidc-permission branch from c8e69c4 to b12be12 Compare December 11, 2025 20:15
@david-fraley david-fraley enabled auto-merge (squash) December 11, 2025 20:19
@david-fraley david-fraley merged commit 614e72a into main Dec 11, 2025
28 checks passed
@david-fraley david-fraley deleted the fix/workflow-oidc-permission branch December 11, 2025 20:20
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants