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: