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: