From 07b88ca03d874948233d361a6ab6e4ad8d5be7f9 Mon Sep 17 00:00:00 2001 From: Viral Sangani Date: Mon, 16 Mar 2026 18:44:15 +0530 Subject: [PATCH] fix: revert claude review trigger to pull_request 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: https://github.com/anthropics/claude-code-action/issues/713 Until Anthropic adds pull_request_target to their OIDC allowlist, we revert to pull_request which works for same-repo branch PRs. --- .github/workflows/claude-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 9b9c75156..b739b5651 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -1,7 +1,7 @@ name: Claude Code Review on: - pull_request_target: + pull_request: types: [opened, synchronize, ready_for_review, reopened] # Optional: Only run on specific file changes # paths: