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 - 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"

View File

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