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