mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-23 02:35:23 +00:00
disable running snyk if triggering user doesn't have access to the secret
This commit is contained in:
parent
394b4cb33d
commit
86b1a4e9ac
1 changed files with 1 additions and 1 deletions
2
.github/workflows/snyk-scan.yml
vendored
2
.github/workflows/snyk-scan.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
# https://github.com/snyk/actions/tree/master/php
|
||||
snyk-php:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'PrivateBin/PrivateBin' }}
|
||||
if: ${{ github.repository == 'PrivateBin/PrivateBin' && (github.event.pull_request.author_association == 'COLLABORATOR' || github.event.pull_request.author_association == 'OWNER') }}
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Google Cloud Storage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue