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
9 changes: 6 additions & 3 deletions .github/workflows/upgrade-develop-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ on:
# Confirm any changes to relevant workflow files.
- '.github/workflows/upgrade-develop-testing.yml'
- '.github/workflows/reusable-upgrade-testing.yml'
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:

# Cancels all previous workflow runs for pull requests that have not completed.
Expand Down Expand Up @@ -96,13 +98,14 @@ jobs:
multisite: ${{ matrix.multisite }}

# Run a limited set of upgrade tests for the current branch on forks.
#
# Pull requests meeting the filtering criteria run, but `push` and `schedule` configured runs are explicitly disabled
# for forks.
upgrade-tests-develop-forks:
name: Upgrade from ${{ matrix.wp }}
uses: ./.github/workflows/reusable-upgrade-testing.yml
# This job also runs for the push event, which has no draft state to check.
if: |
github.repository != 'WordPress/wordpress-develop' && (
github.event_name != 'pull_request' ||
github.repository != 'WordPress/wordpress-develop' && github.event_name == 'pull_request' && (
! github.event.repository.private ||
! github.event.pull_request.draft ||
contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' )
Expand Down
Loading