mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Disable the Claude Code Review workflow for PRs from forks, as CLAUDE_CODE_OAUTH_TOKEN cannot be retrieved for such PRs.
This commit is contained in:
2
.github/workflows/claude-code-review.yml
vendored
2
.github/workflows/claude-code-review.yml
vendored
@@ -12,6 +12,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
claude-review:
|
claude-review:
|
||||||
|
# Only run for PRs from the same repository (skip forks)
|
||||||
|
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
|
||||||
# Optional: Filter by PR author
|
# Optional: Filter by PR author
|
||||||
# if: |
|
# if: |
|
||||||
# github.event.pull_request.user.login == 'external-contributor' ||
|
# github.event.pull_request.user.login == 'external-contributor' ||
|
||||||
|
|||||||
Reference in New Issue
Block a user