From b32efe01879c4d466140a5af19430516f096ec6c Mon Sep 17 00:00:00 2001 From: El RIDO Date: Thu, 30 May 2024 07:54:19 +0200 Subject: [PATCH] disable snyk scan on forks, they won't have the necessary secret --- .github/workflows/snyk-scan.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/snyk-scan.yml b/.github/workflows/snyk-scan.yml index 29bc2b45..66f67e7a 100644 --- a/.github/workflows/snyk-scan.yml +++ b/.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