Skip to content

Commit 7231baf

Browse files
fix: revert claude review trigger to pull_request (#2152)
Reverts the pull_request_target trigger back to pull_request. The pull_request_target trigger was introduced in #2145 to support fork PRs, but Anthropic's OIDC token exchange endpoint does not accept tokens from pull_request_target events, causing 100% failure rate on all reviews since March 9th. This is a known upstream issue: anthropics/claude-code-action#713 Until Anthropic adds pull_request_target to their OIDC allowlist, we revert to pull_request which works for same-repo branch PRs.
1 parent ffd7024 commit 7231baf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/claude-code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Claude Code Review
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [opened, synchronize, ready_for_review, reopened]
66
# Optional: Only run on specific file changes
77
# paths:

0 commit comments

Comments
 (0)