Przeglądaj źródła

disable snyk scan on forks, they won't have the necessary secret

El RIDO 2 lat temu
rodzic
commit
b32efe0187
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      .github/workflows/snyk-scan.yml

+ 1 - 0
.github/workflows/snyk-scan.yml

@@ -12,6 +12,7 @@ jobs:
   # https://github.com/snyk/actions/tree/master/php
   snyk-php:
     runs-on: ubuntu-latest
+    if: ${{ github.repository == 'PrivateBin/PrivateBin' }}
     steps:
       - uses: actions/checkout@v4
       - name: Install Google Cloud Storage