From 6cd32f4abb59bf4ca4b734faf4eb2ca493c77f9e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 19 Mar 2026 21:58:04 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B7=B3=E8=BF=87=E6=9D=A5=E8=87=AA=20F?= =?UTF-8?q?ork=20=E4=BB=93=E5=BA=93=E7=9A=84=20PR=20=E4=BB=A5=E9=81=BF?= =?UTF-8?q?=E5=85=8D=20OIDC=20Token=20=E8=8E=B7=E5=8F=96=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com> --- .github/workflows/claude-code-review.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index b5e8cfd..85baa71 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -12,11 +12,8 @@ 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' + # 跳过来自 Fork 仓库的 PR,因为 GitHub 安全机制不允许 Fork PR 获取 OIDC Token + if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest permissions: