Ignore branch builds on our repository

This commit is contained in:
Nanne Baars 2021-10-24 11:36:35 +02:00
parent be2a6aa0bd
commit 541c424eb9
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7
2 changed files with 1 additions and 2 deletions

View File

@ -6,6 +6,7 @@ on:
- develop
- release/*
jobs:
if: ${{ github.push.repository != github.repository }}
install-notest:
runs-on: ubuntu-latest
name: "Package and linting"

View File

@ -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: