Skip to content

Commit

Permalink
Ignore branch builds on our repository
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaars committed Oct 24, 2021
1 parent be2a6aa commit 541c424
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/branch_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- develop
- release/*
jobs:
if: ${{ github.push.repository != github.repository }}
install-notest:
runs-on: ubuntu-latest
name: "Package and linting"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 541c424

Please sign in to comment.