From 62f86751997cfc198e4bbbb519743dca0a5e7737 Mon Sep 17 00:00:00 2001 From: Yorun <547747006@qq.com> Date: Mon, 3 Apr 2023 02:11:40 +0000 Subject: [PATCH] ci(sync): skip main repo execution --- .github/workflows/sync.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 74016d0f..9c7b7e6f 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -9,6 +9,7 @@ jobs: sync_latest_from_upstream: name: Sync latest commits from upstream repo runs-on: ubuntu-latest + if: ${{ github.event.repository.fork }} steps: # Step 1: run a standard checkout action, provided by github