Simplify Github actions
This commit is contained in:
parent
98bcef9a5e
commit
7742444a99
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
${{
|
${{
|
||||||
github.event_name == 'pull_request' ||
|
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')
|
(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