Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- trunk
- '3.[7-9]'
- '[4-9].[0-9]'
- feature/**
tags:
- '[0-9]+.[0-9]'
- '[0-9]+.[0-9].[0-9]+'
Expand All @@ -14,6 +15,7 @@ on:
- trunk
- '3.[7-9]'
- '[4-9].[0-9]'
- feature/**
workflow_dispatch:
# Once weekly On Sundays at 00:00 UTC.
schedule:
Expand All @@ -40,7 +42,7 @@ jobs:
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ( startsWith( github.base_ref, 'feature/' ) != true || vars.ALLOW_FEATURE_BRANCHES == 'true' ) }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -111,7 +113,7 @@ jobs:
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ( startsWith( github.base_ref, 'feature/' ) != true || vars.ALLOW_FEATURE_BRANCHES == 'true' ) }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -161,7 +163,7 @@ jobs:
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ( startsWith( github.base_ref, 'feature/' ) != true || vars.ALLOW_FEATURE_BRANCHES == 'true' ) }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -204,7 +206,7 @@ jobs:
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ( startsWith( github.base_ref, 'feature/' ) != true || vars.ALLOW_FEATURE_BRANCHES == 'true' ) }}
strategy:
fail-fast: false
matrix:
Expand Down
Loading