From be2a6aa0bd65fe974eb0f61baf3329e2e786d57d Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Sun, 24 Oct 2021 11:25:15 +0200 Subject: [PATCH] Run only on branches --- .github/workflows/pr_build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index 358cf76b7..fb1d6c037 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -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: