Simplify Github actions
This commit is contained in:
parent
c3f9772a27
commit
98bcef9a5e
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -22,8 +22,8 @@ jobs:
|
|||||||
if: |
|
if: |
|
||||||
${{
|
${{
|
||||||
github.event_name == 'pull_request' ||
|
github.event_name == 'pull_request' ||
|
||||||
(github.event_name == 'push' &&
|
(github.event_name == 'push' && github.event.pull_request.head.repo.full_name != 'WebGoat/WebGoat') ||
|
||||||
github.event.pull_request.head.repo.full_name != 'WebGoat/WebGoat')
|
(github.event.name == 'push' && github.event.repository != 'WebGoat/WebGoat')
|
||||||
}}
|
}}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user