From da08e699ebd772fbfb5073457f2a49b9bb296eb5 Mon Sep 17 00:00:00 2001 From: qiang Date: Thu, 1 Feb 2024 16:59:55 +0800 Subject: [PATCH] chore: avoid workflow running on forked repo (#12607) --- .github/workflows/deploy-v4-site.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-v4-site.yml b/.github/workflows/deploy-v4-site.yml index b47648161..48b7cbcdb 100644 --- a/.github/workflows/deploy-v4-site.yml +++ b/.github/workflows/deploy-v4-site.yml @@ -10,6 +10,7 @@ on: jobs: build-and-deploy: + if: github.repository == 'youzan/vant' runs-on: ubuntu-latest steps: - name: Checkout 🛎️