Simplify Github actions

This commit is contained in:
Nanne Baars 2021-10-24 09:44:57 +02:00
parent c3f9772a27
commit 98bcef9a5e
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7

View File

@ -22,8 +22,8 @@ jobs:
if: |
${{
github.event_name == 'pull_request' ||
(github.event_name == 'push' &&
github.event.pull_request.head.repo.full_name != 'WebGoat/WebGoat')
(github.event_name == 'push' && github.event.pull_request.head.repo.full_name != 'WebGoat/WebGoat') ||
(github.event.name == 'push' && github.event.repository != 'WebGoat/WebGoat')
}}
runs-on: ${{ matrix.os }}
strategy: