From 02a4ab076919b5267db7673ff7653c8064b19dfb Mon Sep 17 00:00:00 2001 From: huang47 <157390+huang47@users.noreply.github.com> Date: Tue, 30 Jun 2026 22:37:51 -0700 Subject: [PATCH] ci: skip website report deploy for fork PRs --- .github/workflows/ci-website-e2e.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-website-e2e.yaml b/.github/workflows/ci-website-e2e.yaml index ea8e7f0592c..f86232ec034 100644 --- a/.github/workflows/ci-website-e2e.yaml +++ b/.github/workflows/ci-website-e2e.yaml @@ -67,7 +67,15 @@ jobs: - name: Deploy report to Cloudflare id: deploy - if: always() && !cancelled() + if: >- + ${{ + always() && + !cancelled() && + ( + github.event_name != 'pull_request' || + github.event.pull_request.head.repo.fork == false + ) + }} env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}