Commit f0b958e
committed
ci: skip claude code review for fork PRs
Fork PRs cannot authenticate with the claude-code-action because:
1. The `pull_request` event from forks does not expose repository
secrets or OIDC tokens (GitHub security restriction), so both
`anthropic_api_key` and the GitHub App token exchange fail.
2. Switching to `pull_request_target` (which does have access to
secrets and OIDC) also does not work because Anthropic's OIDC
token exchange endpoint rejects `pull_request_target` event
types (anthropics/claude-code-action#713).
Until the upstream action supports fork PRs, skip the review to
avoid noisy CI failures on every external contribution.1 parent a7ddfda commit f0b958e
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
0 commit comments