Skip to content

fix: add id-token write permission to pr-classify workflow#6

Merged
yanas merged 1 commit into
masterfrom
fix/pr-classify-oidc-permission
Mar 11, 2026
Merged

fix: add id-token write permission to pr-classify workflow#6
yanas merged 1 commit into
masterfrom
fix/pr-classify-oidc-permission

Conversation

@yanas

@yanas yanas commented Mar 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds id-token: write permission to the PR Classification workflow
  • claude-code-action@beta requires this to fetch a GitHub OIDC token; without it the classifier step fails silently and the workflow posts a "could not determine PR type" warning

Test plan

  • Open a PR and verify the classification comment appears correctly

🤖 Generated with Claude Code

claude-code-action@beta requires id-token: write to fetch a GitHub
OIDC token. Without it the classifier step fails and PR classification
cannot run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Warning

PR classification could not determine the PR type. Please apply a type: label manually.

@yanas yanas merged commit 2c1631e into master Mar 11, 2026
1 check passed
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.

1 participant