From 8241d98a38d5e278439c0dd1f48e477e10c10da6 Mon Sep 17 00:00:00 2001
From: Nanne Baars <nanne.baars@owasp.org>
Date: Sun, 24 Oct 2021 10:01:53 +0200
Subject: [PATCH] Simplify Github actions

---
 .github/workflows/build.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ac78d41a8..53733d89b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,11 +19,7 @@ on:
 
 jobs:
   build:
-    if: |
-      ${{
-      (github.event.name == 'push' && github.event.repository == 'WebGoat/WebGoat') ||
-      github.event_name == 'pull_request'
-      }}
+    if: (github.event.name == 'push' && github.event.repository == 'WebGoat/WebGoat')
     runs-on: ${{ matrix.os }}
     strategy:
       matrix: