From 98bcef9a5eb1909a94e4d3a8e270d4a0632899a4 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Sun, 24 Oct 2021 09:44:57 +0200 Subject: [PATCH] Simplify Github actions --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 94b23e680..af63b4677 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,8 +22,8 @@ jobs: if: | ${{ github.event_name == 'pull_request' || - (github.event_name == 'push' && - github.event.pull_request.head.repo.full_name != 'WebGoat/WebGoat') + (github.event_name == 'push' && github.event.pull_request.head.repo.full_name != 'WebGoat/WebGoat') || + (github.event.name == 'push' && github.event.repository != 'WebGoat/WebGoat') }} runs-on: ${{ matrix.os }} strategy: