From c9cfd2c35e46877858b1628eda13843123c5e34a Mon Sep 17 00:00:00 2001 From: Lifei Zhou Date: Fri, 24 Apr 2026 22:32:47 +1000 Subject: [PATCH] fix: only call cleanup when the pr is from same repo (#8799) --- .github/workflows/pr-website-preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-website-preview.yml b/.github/workflows/pr-website-preview.yml index 41cc5116..4b1e6e35 100644 --- a/.github/workflows/pr-website-preview.yml +++ b/.github/workflows/pr-website-preview.yml @@ -51,7 +51,7 @@ jobs: cleanup: runs-on: ubuntu-latest needs: deploy - if: github.event.action == 'closed' + if: github.event.action == 'closed' && github.event.pull_request.head.repo.full_name == 'aaif-goose/goose' permissions: contents: write steps: