Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ on:

jobs:
claude-review:
# Optional: Filter by PR author
# if: |
# github.event.pull_request.user.login == 'external-contributor' ||
# github.event.pull_request.user.login == 'new-developer' ||
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
# Skip on fork PRs. GitHub Actions does not pass repository secrets
# (``CLAUDE_CODE_OAUTH_TOKEN``) or emit OIDC tokens for ``pull_request``
# workflows triggered by forks — the action fails with
# "Could not fetch an OIDC token" no matter what. Skipping here keeps
# fork-PR check rollups clean; maintainers can still trigger a review
# manually via ``claude.yml`` (the @claude mention workflow).
if: github.event.pull_request.head.repo.fork == false

runs-on: ubuntu-latest
permissions:
Expand Down
Loading