diff --git a/.github/workflows/install-testing.yml b/.github/workflows/install-testing.yml index d35b25c08bd8b..dfec592c2e154 100644 --- a/.github/workflows/install-testing.yml +++ b/.github/workflows/install-testing.yml @@ -46,6 +46,7 @@ jobs: build-matrix: name: Determine PHP Versions to test runs-on: ubuntu-latest + if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} timeout-minutes: 5 outputs: major-wp-version: ${{ steps.major-wp-version.outputs.version }} @@ -104,6 +105,7 @@ jobs: permissions: contents: read runs-on: ${{ matrix.os }} + if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} timeout-minutes: 10 needs: [ build-matrix ] strategy: