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/*
|
||||
jobs:
|
||||
install-notest:
|
||||
if: ${{ github.push.repository != github.repository }}
|
||||
if: "github.repository != 'WebGoat/WebGoat'"
|
||||
runs-on: ubuntu-latest
|
||||
name: "Package and linting"
|
||||
steps:
|
||||
@ -28,7 +28,7 @@ jobs:
|
||||
run: mvn install -DskipTests
|
||||
|
||||
testing:
|
||||
if: ${{ github.push.repository != github.repository }}
|
||||
if: "github.repository != 'WebGoat/WebGoat'"
|
||||
needs: install-notest
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user