From ea2b11e4c8e1c8bfaaf1af1555a8cc98c91016c3 Mon Sep 17 00:00:00 2001 From: Dunqing Date: Fri, 30 Sep 2022 16:53:02 +0800 Subject: [PATCH] chore: fix prevents this action from running on forks (#37809) --- .github/workflows/ui-upload.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ui-upload.yml b/.github/workflows/ui-upload.yml index e2f694af3a..5070f64f57 100644 --- a/.github/workflows/ui-upload.yml +++ b/.github/workflows/ui-upload.yml @@ -18,6 +18,7 @@ jobs: name: deploy preview runs-on: ubuntu-latest if: > + github.repository == 'ant-design/ant-design' && github.event.workflow_run.conclusion == 'success' steps: - name: checkout