Преглед изворни кода

ci : skip winget update when not in ggml-org (#17465)

Prevent forks from generating daily failure notifications.

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
Adrien Gallouët пре 1 месец
родитељ
комит
4574f2949e
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      .github/workflows/winget.yml

+ 1 - 0
.github/workflows/winget.yml

@@ -9,6 +9,7 @@ jobs:
   update:
     name: Update Winget Package
     runs-on: ubuntu-latest
+    if: ${{ github.repository.owner.login == 'ggml-org' }}
 
     steps:
       - name: Install cargo binstall