ci: skip claude code review for fork PRs (#1952)
This commit is contained in:
parent
ce75b2d7d2
commit
4a2d83a0cb
1 changed files with 3 additions and 0 deletions
3
.github/workflows/claude-code-review.yml
vendored
3
.github/workflows/claude-code-review.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue