mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-28 05:25:33 +00:00
ci: skip Claude review on fork PRs (#1231)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
398737fadc
commit
7785420eb0
1 changed files with 4 additions and 0 deletions
4
.github/workflows/claude-code-review.yml
vendored
4
.github/workflows/claude-code-review.yml
vendored
|
|
@ -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]'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue