Ver Fonte

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 há 1 mês atrás
pai
commit
4574f2949e
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      .github/workflows/winget.yml

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

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