Просмотр исходного кода

ci(sync): skip main repo execution

Yorun 1 год назад
Родитель
Сommit
62f8675199
1 измененных файлов с 1 добавлено и 0 удалено
  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