From 427389c28d50f58ee964ef9f7921dd1f6ebe7377 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 15 Sep 2024 17:58:58 +0200 Subject: [PATCH] GH Actions/install-testing: add missing job conditions These test jobs should not be run on forks (by default). --- .github/workflows/install-testing.yml | 2 ++ 1 file changed, 2 insertions(+) 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: