diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af63b4677..387a78c98 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: ${{ 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.repository != 'WebGoat/WebGoat') + (github.event.name == 'push' && github.event.repository == 'WebGoat/WebGoat') }} runs-on: ${{ matrix.os }} strategy: