Simplify Github actions
This commit is contained in:
parent
86d3868d9e
commit
8241d98a38
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -19,11 +19,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: |
|
if: (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:
|
||||||
matrix:
|
matrix:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user