瀏覽代碼

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

El RIDO 2 年之前
父節點
當前提交
b32efe0187
共有 1 個文件被更改,包括 1 次插入0 次删除
  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