Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
222bc2a
Update composer/ca-bundle requirement in the composer-packages group
dependabot[bot] Mar 31, 2026
4d761db
Automation: Updating built files with changes.
Apr 1, 2026
7f83643
Tests: Add missing `@covers` tags for some rewrite tests.
SergeyBiryukov Apr 17, 2026
c31e5ef
Tests: Use a data provider in a `WP_Block_Type_Registry` test for inv…
SergeyBiryukov Apr 18, 2026
047ef80
Tests: Add missing `@covers` tags for some rewrite tests.
SergeyBiryukov Apr 19, 2026
67094ee
Tests: Use `assertSame()` in `get_adjacent_post()` tests.
SergeyBiryukov Apr 20, 2026
fc65d67
Tests: Use `assertSame()` in `WP_AI_Client_Prompt_Builder` tests.
SergeyBiryukov Apr 21, 2026
4440667
Tests: Print invalid UTF-8 as ASCII to fix hosts test reporting failu…
dmsnell Apr 21, 2026
ee81e2f
Build/Test Tools: Add more workflow file linting with Zizmor.
johnbillion Apr 21, 2026
8808211
Build/Test Tools: Address some issues in GitHub Actions workflow file…
johnbillion Apr 21, 2026
6311154
Build/Test Tools: Update Actionlint to the latest version.
johnbillion Apr 21, 2026
6ad3233
Build/Test Tools: Remove unnecessary use of GitHub Actions expression…
johnbillion Apr 21, 2026
c9bdbe0
Build/Test Tools: Use the exact tag name in version number comments t…
johnbillion Apr 21, 2026
1701705
AI: Validate filtered default request timeout in `WP_AI_Client_Prompt…
westonruter Apr 22, 2026
a747d74
I18N: Add context for the Library admin menu item.
SergeyBiryukov Apr 22, 2026
88fe6bf
Block Supports: strip custom CSS from blocks for users without edit_c…
ramonjd Apr 23, 2026
adf6443
Build/Test Tools: Consolidate vendor file copying to ensure `.min.js`…
peterwilsoncc Apr 23, 2026
5de34ea
Merge branch 'trunk' into dependabot/composer/composer-packages-85303…
desrosj Apr 23, 2026
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
5 changes: 3 additions & 2 deletions .github/workflows/commit-built-file-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,12 @@ jobs:
path: 'pr-repo'
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
token: ${{ env.ACCESS_TOKEN }}
persist-credentials: true

- name: Apply patch
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
working-directory: 'pr-repo'
run: git apply ${{ github.workspace }}/changes.diff
run: git apply "$GITHUB_WORKSPACE/changes.diff"

- name: Display changes to versioned files
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
Expand All @@ -149,7 +150,7 @@ jobs:
GH_APP_ID: ${{ secrets.GH_PR_BUILT_FILES_APP_ID }}
run: |
git config user.name "wordpress-develop-pr-bot[bot]"
git config user.email ${{ env.GH_APP_ID }}+wordpress-develop-pr-bot[bot]@users.noreply.github.com
git config user.email "${GH_APP_ID}+wordpress-develop-pr-bot[bot]@users.noreply.github.com"

- name: Stage changes
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ permissions: {}

env:
LOCAL_DIR: build
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true

jobs:
# Runs the end-to-end test suite.
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/install-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
uses: ./.github/workflows/reusable-support-json-reader-v1.yml
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
with:
wp-version: ${{ inputs.wp-version }}
Expand Down Expand Up @@ -118,7 +117,7 @@ jobs:

steps:
- name: Set up PHP ${{ matrix.php }}
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
with:
php-version: '${{ matrix.php }}'
coverage: none
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/local-docker-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
uses: ./.github/workflows/reusable-support-json-reader-v1.yml
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
with:
wp-version: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}
Expand Down
24 changes: 17 additions & 7 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ jobs:
uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
permissions:
contents: read
secrets: inherit
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }}
if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -143,7 +145,9 @@ jobs:
uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
permissions:
contents: read
secrets: inherit
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }}
if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -177,7 +181,7 @@ jobs:
multisite: ${{ matrix.multisite }}
memcached: ${{ matrix.memcached }}
phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }}
report: ${{ false }}
report: false

#
# Creates PHPUnit test jobs to test MariaDB and MySQL innovation releases.
Expand All @@ -195,7 +199,9 @@ jobs:
uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
permissions:
contents: read
secrets: inherit
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }}
if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -223,7 +229,7 @@ jobs:
multisite: ${{ matrix.multisite }}
memcached: ${{ matrix.memcached }}
phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }}
report: ${{ false }}
report: false

#
# Runs the HTML API test group.
Expand All @@ -238,7 +244,9 @@ jobs:
uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
permissions:
contents: read
secrets: inherit
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }}
if: ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -267,7 +275,9 @@ jobs:
uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
permissions:
contents: read
secrets: inherit
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }}
if: ${{ ! startsWith( github.repository, 'WordPress/' ) && github.event_name == 'pull_request' }}
strategy:
fail-fast: false
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reusable-check-built-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
Expand All @@ -56,7 +57,7 @@ jobs:
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
- name: Install Composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
custom-cache-suffix: ${{ steps.get-date.outputs.date }}

Expand Down
25 changes: 10 additions & 15 deletions .github/workflows/reusable-cleanup-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# - Parse fixed ticket numbers from the commit message.
# - Parse the SVN revision from the commit message.
# - Searches for pull requests referencing any fixed tickets.
# - Leaves a comment on each PR before closing.
# - Comments on pull requests referencing any fixed tickets before closing.
close-prs:
name: Find and close PRs
runs-on: ubuntu-24.04
Expand All @@ -43,13 +43,17 @@ jobs:
COMMIT_MESSAGE="$(echo "$COMMIT_MSG_RAW" | sed -n '$p')"
echo "svn_revision_number=$(echo "$COMMIT_MESSAGE" | sed -n 's/.*git-svn-id: https:\/\/develop.svn.wordpress.org\/[^@]*@\([0-9]*\) .*/\1/p')" >> "$GITHUB_OUTPUT"

- name: Find pull requests
id: linked-prs
- name: Find, comment on, and close pull requests
if: ${{ steps.trac-tickets.outputs.fixed_list != '' && steps.git-svn-id.outputs.svn_revision_number != '' }}
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
env:
FIXED_LIST: ${{ steps.trac-tickets.outputs.fixed_list }}
SVN_REVISION_NUMBER: ${{ steps.git-svn-id.outputs.svn_revision_number }}
with:
script: |
const fixedList = "${{ steps.trac-tickets.outputs.fixed_list }}".split(' ').filter(Boolean);
const fixedList = process.env.FIXED_LIST.split(' ').filter(Boolean);
const svnRevisionNumber = process.env.SVN_REVISION_NUMBER;
const githubSha = process.env.GITHUB_SHA;
let prNumbers = [];

for (const ticket of fixedList) {
Expand Down Expand Up @@ -86,19 +90,10 @@ jobs:
prNumbers.push(...matchingPRs);
}

return prNumbers;

- name: Comment and close pull requests
if: ${{ steps.trac-tickets.outputs.fixed_list != '' && steps.git-svn-id.outputs.svn_revision_number != '' }}
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: |
const prNumbers = ${{ steps.linked-prs.outputs.result }};

const commentBody = `A commit was made that fixes the Trac ticket referenced in the description of this pull request.

SVN changeset: [${{ steps.git-svn-id.outputs.svn_revision_number }}](https://core.trac.wordpress.org/changeset/${{ steps.git-svn-id.outputs.svn_revision_number }})
GitHub commit: https://github.com/WordPress/wordpress-develop/commit/${{ github.sha }}
SVN changeset: [${svnRevisionNumber}](https://core.trac.wordpress.org/changeset/${svnRevisionNumber})
GitHub commit: https://github.com/WordPress/wordpress-develop/commit/${githubSha}

This PR will be closed, but please confirm the accuracy of this and reopen if there is more work to be done.`;

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-coding-standards-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_call:

env:
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true

# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-coding-standards-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
persist-credentials: false

- name: Set up PHP
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
with:
php-version: ${{ inputs.php-version }}
coverage: none
Expand All @@ -75,7 +75,7 @@ jobs:
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
- name: Install Composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
custom-cache-suffix: ${{ steps.get-date.outputs.date }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-performance-test-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ on:
required: false

env:
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true

# Prevent wp-scripts from downloading extra Playwright browsers,
# since Chromium will be installed in its dedicated step already.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ on:
required: false

env:
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true

# Prevent wp-scripts from downloading extra Playwright browsers,
# since Chromium will be installed in its dedicated step already.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
persist-credentials: false

- name: Set up PHP
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
with:
php-version: ${{ inputs.php-version }}
coverage: none
Expand All @@ -71,7 +71,7 @@ jobs:
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
- name: Install Composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
custom-cache-suffix: ${{ steps.get-date.outputs.date }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-phpstan-static-analysis-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
cache: npm

- name: Set up PHP
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
with:
php-version: ${{ inputs.php-version }}
coverage: none
Expand All @@ -73,7 +73,7 @@ jobs:
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
- name: Install Composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
custom-cache-suffix: ${{ steps.get-date.outputs.date }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-phpunit-tests-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ on:
type: boolean
default: false
env:
COMPOSER_INSTALL: ${{ false }}
COMPOSER_INSTALL: false
LOCAL_PHP: ${{ inputs.php }}-fpm
LOCAL_PHPUNIT: ${{ inputs.phpunit && inputs.phpunit || inputs.php }}-fpm
LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
PHPUNIT_CONFIG: ${{ inputs.phpunit-config }}
PHPUNIT_SCRIPT: php
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true
SLOW_TESTS: 'external-http,media'

# Disable permissions for all available scopes by default.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-phpunit-tests-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ env:
LOCAL_PHP: ${{ inputs.php }}-fpm
LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
PHPUNIT_CONFIG: ${{ inputs.phpunit-config }}
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true
# Controls which npm script to use for running PHPUnit tests. Options ar `php` and `php-composer`.
PHPUNIT_SCRIPT: php
SLOW_TESTS: 'external-http,media'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-phpunit-tests-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ env:
LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
LOCAL_WP_TESTS_DOMAIN: ${{ inputs.tests-domain }}
PHPUNIT_CONFIG: ${{ inputs.phpunit-config }}
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true

# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
Expand Down Expand Up @@ -150,15 +150,15 @@ jobs:
# dependency versions are installed and cached.
##
- name: Set up PHP
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
with:
php-version: '${{ inputs.php }}'
coverage: none

# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
- name: Install Composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
custom-cache-suffix: $(/bin/date -u --date='last Mon' "+%F")

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-test-core-build-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
default: false

env:
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true
NODE_OPTIONS: --max-old-space-size=4096

# Disable permissions for all available scopes by default.
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
- name: Install Composer dependencies
if: ${{ inputs.test-certificates }}
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
custom-cache-suffix: ${{ steps.get-date.outputs.date }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

env:
GUTENBERG_DIRECTORY: ${{ inputs.directory == 'build' && 'build' || 'src' }}/wp-content/plugins/gutenberg
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true
NODE_OPTIONS: '--max-old-space-size=8192'

# Disable permissions for all available scopes by default.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ env:
LOCAL_DB_VERSION: ${{ inputs.db-version }}
LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
LOCAL_WP_TESTS_DOMAIN: ${{ inputs.tests-domain }}
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
PUPPETEER_SKIP_DOWNLOAD: true

# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
Expand Down Expand Up @@ -105,15 +105,15 @@ jobs:
# dependency versions are installed and cached.
##
- name: Set up PHP
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
with:
php-version: '${{ inputs.php }}'
coverage: none

# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
- name: Install Composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
custom-cache-suffix: $(/bin/date -u --date='last Mon' "+%F")

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-upgrade-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

steps:
- name: Set up PHP ${{ inputs.php }}
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
with:
php-version: '${{ inputs.php }}'
coverage: none
Expand Down
Loading
Loading