From 7785420eb0e57e8ad9a5320286fc62caf45ce5a8 Mon Sep 17 00:00:00 2001 From: Mrityunjay Raj Date: Sat, 11 Jul 2026 04:16:25 +0530 Subject: [PATCH] ci: skip Claude review on fork PRs (#1231) Co-authored-by: Cursor --- .github/workflows/claude-code-review.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 9da46700..1336f948 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -6,8 +6,12 @@ on: jobs: claude-review: + # Fork PRs run with a read-only token and no secrets/OIDC id-token, so the + # Claude action can never authenticate there and the job always fails. Skip + # it for forks so those PRs report a clean skipped check instead of a red X. if: | github.event.pull_request.draft == false && + github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'graphite-app[bot]' && github.actor != 'dependabot[bot]'