Skip to content

Commit 5f39c68

Browse files
committed
id-token: write を有効化し、権限設定の理由を明確化
- id-token: write は Claude Code Actions に必須 - write 権限のコメントに「id-token で昇格されるため明確化」を追加 - id-token が権限昇格の能力を持つことを明記 - 透明性とセキュリティ意識を両立したドキュメント化
1 parent 0783efa commit 5f39c68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/claude-review.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
permissions:
2828
contents: read # Repository 内の権限
2929
actions: read # Actionsログへの権限
30-
issues: write # Issueコメントの権限
31-
pull-requests: write # PR 内コメントの権限
32-
#id-token: write # AWS 等への外部アクセスが必要な場合のみ
30+
issues: write # Issueコメントの権限 (id-token で昇格されるため明確化)
31+
pull-requests: write # PR 内コメントの権限 (id-token で昇格されるため明確化)
32+
id-token: write # Claude Code Actions の実行に必要 (昇格する権限を持つ)
3333

3434
steps:
3535
- name: Checkout

0 commit comments

Comments
 (0)