mirror of
https://github.com/wshobson/agents
synced 2026-06-21 14:13:58 +00:00
Skip Claude review on fork PRs (#559)
Fork PRs don't have access to secrets or OIDC tokens, causing claude-code-action to fail on OIDC authentication. Skip the job entirely for cross-repository PRs so CI stays green.
This commit is contained in:
@@ -9,7 +9,8 @@ jobs:
|
||||
if: |
|
||||
github.event.pull_request.draft == false &&
|
||||
github.actor != 'dependabot[bot]' &&
|
||||
github.event.pull_request.user.login != 'dependabot[bot]'
|
||||
github.event.pull_request.user.login != 'dependabot[bot]' &&
|
||||
github.event.pull_request.head.repo.full_name == github.repository
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user