Compare commits

..

4 commits

Author SHA1 Message Date
El RIDO
5bd550e61d
Merge pull request #1648 from PrivateBin/workflows-for-collaborators
Workflows for collaborators
2025-09-14 07:59:38 +02:00
El RIDO
e775647206
attempting to make the condition list more readable 2025-09-13 07:56:54 +02:00
El RIDO
5cca4be89a
enable running tests on pull requests 2025-09-13 07:21:10 +02:00
El RIDO
86b1a4e9ac
disable running snyk if triggering user doesn't have access to the secret 2025-09-13 07:20:25 +02:00
2 changed files with 8 additions and 1 deletions

View file

@ -12,7 +12,12 @@ 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 == 'CONTRIBUTOR' ||
github.event.pull_request.author_association == 'MEMBER' ||
github.event.pull_request.author_association == 'OWNER' )
steps:
- uses: actions/checkout@v5
- name: Install Google Cloud Storage

View file

@ -1,6 +1,8 @@
name: Tests
on:
push:
pull_request:
branches: [ master ]
workflow_dispatch:
jobs: