ci: skip claude code review for fork PRs (#1952)

This commit is contained in:
Max Isbey 2026-01-24 19:22:24 +00:00 • committed by GitHub
commit 4a2d83a0cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,9 @@ on:
jobs:
claude-review:
# Fork PRs don't have access to secrets or OIDC tokens, so the action
# cannot authenticate. See https://github.com/anthropics/claude-code-action/issues/339
if: github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
permissions:
contents: read