Skip to content

Commit b487e68

Browse files
committed
Merge branch 'trunk' of https://github.com/WordPress/wordpress-develop into 61146-marking-user-account
2 parents 724d0eb + 972d21c commit b487e68

File tree

1,100 files changed

+65189
-30141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,100 files changed

+65189
-30141
lines changed

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@ a96fa164b00ed51c7c0481574834cff92ab9b1f0 # [60043]
5959
1aa6da693ad739b78752a55d154cd48cb757b90b # [60047]
6060
d44e1c2ce2dc638e89ed6a1d02b1cfadb8a15fe7 # [60048]
6161
a18719e7ea49ab7ac0091e076840cb7efdf51cc5 # [60049]
62+
63+
# 6.9 Coding Standards
64+
cbb6519119276ceba4279eaee73ab66294ebd820 # [60402]

.github/dependabot.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

.github/workflows/check-built-files.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@ on:
1919
- '**.sass'
2020
# These files configure npm and the task runner. Changes could affect the outcome.
2121
- 'package*.json'
22+
- '.npmrc'
23+
- '.nvmrc'
2224
- 'Gruntfile.js'
2325
- 'webpack.config.js'
2426
- 'tools/webpack/**'
2527
# These files configure Composer. Changes could affect the outcome.
2628
- 'composer.*'
2729
# Confirm any changes to relevant workflow files.
2830
- '.github/workflows/check-built-files.yml'
31+
# Changes to the default themes should be handled by the themes workflows.
32+
- '!src/wp-content/themes/twenty**'
2933

3034
# Cancels all previous workflow runs for pull requests that have not completed.
3135
concurrency:
@@ -41,6 +45,7 @@ permissions: {}
4145
jobs:
4246
check-for-built-file-changes:
4347
name: Check built files
44-
# This prevents an unnecessary second run after changes are committed back because Dependabot always rebases and force pushes.
45-
if: ${{ github.repository == 'wordpress/wordpress-develop' && ( github.actor != 'dependabot[bot]' || github.event.commits < 2 ) }}
48+
if: ${{ github.repository == 'wordpress/wordpress-develop' }}
4649
uses: ./.github/workflows/reusable-check-built-files.yml
50+
permissions:
51+
contents: read

.github/workflows/coding-standards.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ on:
99
- '3.[89]'
1010
- '[4-9].[0-9]'
1111
tags:
12-
- '[0-9]+.[0-9]'
13-
- '[0-9]+.[0-9].[0-9]+'
14-
- '!3.7.[0-9]+'
12+
- '3.[89]'
13+
- '3.[89].[0-9]+'
14+
- '[4-9].[0-9]'
15+
- '[4-9].[0-9].[0-9]+'
1516
pull_request:
1617
branches:
1718
- trunk
@@ -23,6 +24,8 @@ on:
2324
- '**.php'
2425
# These files configure npm. Changes could affect the outcome.
2526
- 'package*.json'
27+
- '.npmrc'
28+
- '.nvmrc'
2629
# These files configure Composer. Changes could affect the outcome.
2730
- 'composer.*'
2831
# This file configures JSHint. Changes could affect the outcome.
@@ -48,19 +51,19 @@ permissions: {}
4851
jobs:
4952
# Runs the PHP coding standards checks.
5053
phpcs:
51-
name: PHP coding standards
54+
name: Coding standards
5255
uses: ./.github/workflows/reusable-coding-standards-php.yml
5356
permissions:
5457
contents: read
55-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
58+
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
5659

5760
# Runs the JavaScript coding standards checks.
5861
jshint:
59-
name: JavaScript coding standards
62+
name: Coding standards
6063
uses: ./.github/workflows/reusable-coding-standards-javascript.yml
6164
permissions:
6265
contents: read
63-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
66+
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
6467

6568
slack-notifications:
6669
name: Slack Notifications

.github/workflows/commit-built-file-changes.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Commit Built File Changes (PRs)
33

44
on:
55
workflow_run:
6-
workflows: [ 'Check Built Files (PRs)' ]
6+
workflows:
7+
- 'Check Built Files (PRs)'
8+
- 'Test Default Themes & Create ZIPs'
79
types:
810
- completed
911

@@ -121,7 +123,7 @@ jobs:
121123
rm -f private-key.pem
122124
123125
- name: Checkout repository
124-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
126+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
125127
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
126128
with:
127129
repository: ${{ github.event.workflow_run.head_repository.full_name }}
@@ -158,7 +160,7 @@ jobs:
158160
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
159161
working-directory: 'pr-repo'
160162
run: |
161-
git commit -m "Automation: Updating built files with changes. [dependabot skip]"
163+
git commit -m "Automation: Updating built files with changes."
162164
163165
- name: Push changes
164166
if: ${{ steps.artifact-check.outputs.exists == 'true' }}

.github/workflows/end-to-end-tests.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
- '5.[3-9]'
99
- '[6-9].[0-9]'
1010
tags:
11-
- '[0-9]+.[0-9]'
12-
- '[0-9]+.[0-9].[0-9]+'
13-
- '![34].[0-9].[0-9]+'
14-
- '!5.[0-2].[0-9]+'
11+
- '5.[3-9]'
12+
- '5.[3-9].[0-9]+'
13+
- '[6-9]+.[0-9]'
14+
- '[6-9]+.[0-9].[0-9]+'
1515
pull_request:
1616
branches:
1717
- trunk
@@ -24,6 +24,8 @@ on:
2424
- '**.php'
2525
# These files configure npm and the task runner. Changes could affect the outcome.
2626
- 'package*.json'
27+
- '.npmrc'
28+
- '.nvmrc'
2729
- 'Gruntfile.js'
2830
- 'webpack.config.js'
2931
- 'tools/webpack/**'
@@ -54,15 +56,17 @@ env:
5456
jobs:
5557
# Runs the end-to-end test suite.
5658
e2e-tests:
57-
name: Test with SCRIPT_DEBUG ${{ matrix.LOCAL_SCRIPT_DEBUG && 'enabled' || 'disabled' }}
59+
name: ${{ matrix.label }}
5860
uses: ./.github/workflows/reusable-end-to-end-tests.yml
5961
permissions:
6062
contents: read
61-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
63+
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
6264
strategy:
6365
fail-fast: false
6466
matrix:
6567
LOCAL_SCRIPT_DEBUG: [ true, false ]
68+
# A matrix value is needed in the 'name' directive for proper grouping in the GitHub UI.
69+
label: [ 'E2E Tests' ]
6670
with:
6771
LOCAL_SCRIPT_DEBUG: ${{ matrix.LOCAL_SCRIPT_DEBUG }}
6872

.github/workflows/install-testing.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
permissions:
4848
contents: read
4949
secrets: inherit
50-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
50+
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
5151
with:
5252
wp-version: ${{ inputs.wp-version }}
5353

@@ -63,7 +63,7 @@ jobs:
6363
permissions:
6464
contents: read
6565
runs-on: ${{ matrix.os }}
66-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
66+
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
6767
timeout-minutes: 10
6868
needs: [ build-test-matrix ]
6969
strategy:
@@ -92,11 +92,14 @@ jobs:
9292
db-version: '8.4'
9393
# Only test the latest innovation release.
9494
- db-version: '9.0'
95+
- db-version: '9.1'
96+
- db-version: '9.2'
97+
- db-version: '9.3'
9598
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
9699
- php: '7.2'
97-
db-version: '9.1'
100+
db-version: '9.4'
98101
- php: '7.3'
99-
db-version: '9.1'
102+
db-version: '9.4'
100103

101104
services:
102105
database:
@@ -115,7 +118,7 @@ jobs:
115118
116119
steps:
117120
- name: Set up PHP ${{ matrix.php }}
118-
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
121+
uses: shivammathur/setup-php@20529878ed81ef8e78ddf08b480401e6101a850f # v2.35.3
119122
with:
120123
php-version: '${{ matrix.php }}'
121124
coverage: none

.github/workflows/javascript-tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ on:
88
- '3.[89]'
99
- '[4-9].[0-9]'
1010
tags:
11-
- '[0-9]+.[0-9]'
12-
- '[0-9]+.[0-9].[0-9]+'
13-
- '!3.7.[0-9]+'
11+
- '3.[89]'
12+
- '3.[89].[0-9]+'
13+
- '[4-9].[0-9]'
14+
- '[4-9].[0-9].[0-9]+'
1415
pull_request:
1516
branches:
1617
- trunk
@@ -21,6 +22,8 @@ on:
2122
- '**.js'
2223
# These files configure npm and the task runner. Changes could affect the outcome.
2324
- 'package*.json'
25+
- '.npmrc'
26+
- '.nvmrc'
2427
- 'Gruntfile.js'
2528
- 'webpack.config.js'
2629
- 'tools/webpack/**'
@@ -53,7 +56,7 @@ jobs:
5356
uses: ./.github/workflows/reusable-javascript-tests.yml
5457
permissions:
5558
contents: read
56-
if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }}
59+
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
5760

5861
slack-notifications:
5962
name: Slack Notifications

0 commit comments

Comments
 (0)