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
|
||||
- release/*
|
||||
jobs:
|
||||
if: ${{ github.push.repository != github.repository }}
|
||||
install-notest:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Package and linting"
|
||||
|
2
.github/workflows/pr_build.yml
vendored
2
.github/workflows/pr_build.yml
vendored
@ -23,8 +23,6 @@ on:
|
||||
|
||||
jobs:
|
||||
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 }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
Loading…
x
Reference in New Issue
Block a user