From 86d3868d9e56e3db2f4852dc2077ecac54508df3 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Sun, 24 Oct 2021 10:00:30 +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 3e798ddb6..ac78d41a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,8 +21,8 @@ jobs: build: if: | ${{ - github.event_name == 'pull_request' || - (github.event.name == 'push' && github.event.repository == 'WebGoat/WebGoat') + (github.event.name == 'push' && github.event.repository == 'WebGoat/WebGoat') || + github.event_name == 'pull_request' }} runs-on: ${{ matrix.os }} strategy: