Skip to content

Commit

Permalink
GH Actions/install-testing: add missing job conditions
Browse files Browse the repository at this point in the history
These test jobs should not be run on forks (by default).
  • Loading branch information
jrfnl committed Sep 17, 2024
1 parent 4dafd58 commit 427389c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/install-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 427389c

Please sign in to comment.