Ignore branch builds on our repository
This commit is contained in:
parent
be2a6aa0bd
commit
541c424eb9
1
.github/workflows/branch_build.yml
vendored
1
.github/workflows/branch_build.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
- develop
|
- develop
|
||||||
- release/*
|
- release/*
|
||||||
jobs:
|
jobs:
|
||||||
|
if: ${{ github.push.repository != github.repository }}
|
||||||
install-notest:
|
install-notest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: "Package and linting"
|
name: "Package and linting"
|
||||||
|
2
.github/workflows/pr_build.yml
vendored
2
.github/workflows/pr_build.yml
vendored
@ -23,8 +23,6 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# Run on PR from different remote not on PR from within WebGoat (committers)
|
|
||||||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user