ci: add id-token write permission for OIDC authentication

Enable OIDC authentication in Claude PR review workflow by adding
id-token write permission.

🤖 Generated with Claude Code (https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-01-08 12:14:04 +08:00
parent 026e658679
commit 7d215c37a5

View File

@@ -21,6 +21,7 @@ jobs:
pull-requests: write
issues: read
actions: read # Required for Claude to read CI results on PRs
id-token: write # Required for OIDC authentication with GitHub
steps:
- name: Checkout repository