Browse Source

ci(sync): skip main repo execution

Yorun 1 year ago
parent
commit
62f8675199
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/sync.yml

+ 1 - 0
.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