From 51a10ef19a5444bb4875f0e83ee86b2a4fba5754 Mon Sep 17 00:00:00 2001 From: James Newling Date: Mon, 28 Sep 2026 07:55:04 -0700 Subject: [PATCH] fix(ci): skip docs preview cleanup for fork PRs --- .github/workflows/docs-pr-preview-cleanup.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docs-pr-preview-cleanup.yml b/.github/workflows/docs-pr-preview-cleanup.yml index 45f4520d2b79..93cb7c4afe18 100644 --- a/.github/workflows/docs-pr-preview-cleanup.yml +++ b/.github/workflows/docs-pr-preview-cleanup.yml @@ -15,6 +15,9 @@ permissions: jobs: cleanup: + # Docs previews only support branches in this repository. Fork PRs cannot + # have previews to clean up and do not receive the required secrets. + if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest steps: - name: Checkout docs-config only