Ignore branch builds on main repository
This commit is contained in:
parent
a4104fdf8b
commit
cc0d0fa2a6
4
.github/workflows/branch_build.yml
vendored
4
.github/workflows/branch_build.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
- release/*
|
- release/*
|
||||||
jobs:
|
jobs:
|
||||||
install-notest:
|
install-notest:
|
||||||
if: ${{ github.push.repository != github.repository }}
|
if: "github.repository != 'WebGoat/WebGoat'"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: "Package and linting"
|
name: "Package and linting"
|
||||||
steps:
|
steps:
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
run: mvn install -DskipTests
|
run: mvn install -DskipTests
|
||||||
|
|
||||||
testing:
|
testing:
|
||||||
if: ${{ github.push.repository != github.repository }}
|
if: "github.repository != 'WebGoat/WebGoat'"
|
||||||
needs: install-notest
|
needs: install-notest
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user