Run only on branches

This commit is contained in:
Nanne Baars 2021-10-24 11:25:15 +02:00
parent e5ab24a1fc
commit be2a6aa0bd
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7

View File

@ -23,6 +23,8 @@ 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: