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

This commit is contained in:
El RIDO 2024-05-30 07:54:19 +02:00
parent 6aa292e33d
commit b32efe0187

View file

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