Skip to content

Commit 2f2a365

Browse files
authored
Merge branch 'WordPress:trunk' into feature/responsive-table-fixed-layout
2 parents 881b9c8 + 228c3b5 commit 2f2a365

File tree

761 files changed

+20695
-5214
lines changed

Some content is hidden

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

761 files changed

+20695
-5214
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Documentation
2-
/docs @ajitbohra @juanmaguitar @fabiankaegy @ndiego
2+
/docs @ajitbohra @juanmaguitar @fabiankaegy
33
/packages/interactivity/docs @juanmaguitar
44

55
# Schemas
@@ -15,10 +15,7 @@
1515
# Blocks
1616
/packages/block-library @ajitbohra @fabiankaegy
1717
/packages/block-library/src/gallery
18-
/packages/block-library/src/comment-template @michalczaplinski
19-
/packages/block-library/src/comments @michalczaplinski
2018
/packages/block-library/src/table-of-contents @ZebulanStanphill
21-
/packages/block-library/src/image @artemiomorales
2219

2320
# Duotone
2421
/lib/block-supports/duotone.php
@@ -60,7 +57,7 @@
6057
# Tooling
6158
/bin @ntwb @nerrad @ajitbohra
6259
/bin/api-docs @ntwb @nerrad @ajitbohra
63-
/docs/tool @ajitbohra @ndiego
60+
/docs/tool @ajitbohra
6461
/packages/babel-plugin-import-jsx-pragma @ntwb @nerrad @ajitbohra
6562
/packages/babel-plugin-makepot @ntwb @nerrad @ajitbohra
6663
/packages/babel-preset-default @gziolo @ntwb @nerrad @ajitbohra

.github/ISSUE_TEMPLATE/New_release.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ This issue is to provide visibility on the progress of the release process of Gu
2525
### RC Day - {WEEKDAY}, {MONTH}, {DATE}
2626

2727
- [ ] Post a message in `#core-editor` channel to let folks know you are starting the RC release process
28-
- [ ] [Organize and Label PRs](https://developer.wordpress.org/block-editor/contributors/code/release/#organizing-and-labeling-milestone-prs) on the relevant milestone
29-
- [ ] Start the release process by triggering the `rc` [workflow](https://developer.wordpress.org/block-editor/contributors/code/release/#running-the-release-workflow)
30-
- [ ] [Update the created Draft Release accordingly](https://developer.wordpress.org/block-editor/contributors/code/release/#viewing-the-release-draft)
31-
- [ ] [Curate the changelog](https://developer.wordpress.org/block-editor/contributors/code/release/#curating-the-release-changelog) before publishing
32-
- [ ] [Publish Release](https://developer.wordpress.org/block-editor/contributors/code/release/#publishing-the-release)
28+
- [ ] [Organize and Label PRs](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/#organizing-and-labeling-milestone-prs) on the relevant milestone
29+
- [ ] Start the release process by triggering the `rc` [workflow](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/#running-the-release-workflow)
30+
- [ ] [Update the created Draft Release accordingly](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/#viewing-the-release-draft)
31+
- [ ] [Curate the changelog](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/#curating-the-release-changelog) before publishing
32+
- [ ] [Publish Release](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/#publishing-the-release)
3333
- [ ] Announce in `#core-editor` channel that RC1 has been released and is ready for testing
3434
- [ ] Ping any other relevant channels announcing that the RC is available
3535
- [ ] Create Draft of Release post on Make Core blog _(initial draft in [Google doc](https://docs.google.com/document/d/1D-MTOCmL9eMlP9TDTXqlzuKVOg_ghCPm9_whHFViqMk/edit))_
@@ -42,14 +42,14 @@ This issue is to provide visibility on the progress of the release process of Gu
4242
- [ ] Get assets from [Design Team](https://make.wordpress.org/design/) for the post if required
4343
- [ ] Reach out to Highlight Authors to draft sections (if necessary)
4444

45-
### Release Day - {Weekday, Month, Date}
45+
### Release Day - {WEEKDAY}, {MONTH}, {DATE}
4646

4747
- [ ] Post a message in `#core-editor` channel to let folks know you are starting the release process
48-
- [ ] Start the release process by triggering the `stable` [workflow](https://developer.wordpress.org/block-editor/contributors/code/release/#running-the-release-workflow)
48+
- [ ] Start the release process by triggering the `stable` [workflow](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/#running-the-release-workflow)
4949
- [ ] Update the created Draft Release accordingly. Typically by copy/pasting the last RC release notes and add any changes/updates as needed.
50-
- [ ] [Publish Release](https://developer.wordpress.org/block-editor/contributors/code/release/#publishing-the-release)
50+
- [ ] [Publish Release](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/#publishing-the-release)
5151
- [ ] Trigger the update to the plugin directory. _(Get approval from a member of [Gutenberg Release team](https://github.com/orgs/WordPress/teams/gutenberg-release/members) if necessary)_
5252
- [ ] Announce in `#core-editor` channel that the plugin has been released
5353
- [ ] Reach out to other contributors to help get the post reviewed
54-
- [ ] [Publish Release post](https://developer.wordpress.org/block-editor/contributors/code/release/#publishing-the-release-post) on Make Core blog
55-
- [ ] Post in the `#core-editor` channel [requesting a volunteer for the next Gutenberg release](https://developer.wordpress.org/block-editor/contributors/code/release/#call-for-volunteer-for-the-next-release).
54+
- [ ] [Publish Release post](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/#publishing-the-release-post) on Make Core blog
55+
- [ ] Post in the `#core-editor` channel [requesting a volunteer for the next Gutenberg release](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/#call-for-volunteer-for-the-next-release).

.github/setup-node/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
- name: Use desired version of Node.js
1313
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1414
with:
15-
node-version-file: '.nvmrc'
15+
node-version-file: ${{ inputs.node-version == '' && '.nvmrc' || '' }}
1616
node-version: ${{ inputs.node-version }}
1717
check-latest: true
1818
cache: npm
@@ -25,7 +25,7 @@ runs:
2525

2626
- name: Cache node_modules
2727
id: cache-node_modules
28-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
28+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
2929
with:
3030
path: '**/node_modules'
3131
key: node_modules-${{ runner.os }}-${{ runner.arch }}-${{ steps.node-version.outputs.NODE_VERSION }}-${{ hashFiles('package-lock.json') }}

.github/workflows/build-plugin-zip.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions: {}
2727
jobs:
2828
compute-stable-branches:
2929
name: Compute current and next stable release branches
30-
runs-on: ubuntu-latest
30+
runs-on: 'ubuntu-24.04'
3131
permissions:
3232
contents: read
3333
if: ${{ github.event_name == 'workflow_dispatch' }}
@@ -55,7 +55,7 @@ jobs:
5555
5656
bump-version:
5757
name: Bump version
58-
runs-on: ubuntu-latest
58+
runs-on: 'ubuntu-24.04'
5959
permissions:
6060
contents: write
6161
needs: compute-stable-branches
@@ -81,7 +81,7 @@ jobs:
8181

8282
steps:
8383
- name: Checkout code
84-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
84+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8585
with:
8686
token: ${{ secrets.GUTENBERG_TOKEN }}
8787
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
@@ -180,7 +180,7 @@ jobs:
180180
181181
build:
182182
name: Build Release Artifact
183-
runs-on: ubuntu-latest
183+
runs-on: 'ubuntu-24.04'
184184
permissions:
185185
contents: read
186186
needs: bump-version
@@ -195,7 +195,7 @@ jobs:
195195

196196
steps:
197197
- name: Checkout code
198-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
198+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
199199
with:
200200
ref: ${{ needs.bump-version.outputs.release_branch || github.ref }}
201201
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
@@ -244,7 +244,7 @@ jobs:
244244
revert-version-bump:
245245
name: Revert version bump if build failed
246246
needs: [bump-version, build]
247-
runs-on: ubuntu-latest
247+
runs-on: 'ubuntu-24.04'
248248
permissions:
249249
contents: write
250250
if: |
@@ -254,7 +254,7 @@ jobs:
254254
255255
steps:
256256
- name: Checkout code
257-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
257+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
258258
with:
259259
fetch-depth: 2
260260
ref: ${{ needs.bump-version.outputs.release_branch }}
@@ -300,7 +300,7 @@ jobs:
300300
create-release:
301301
name: Create Release Draft and Attach Asset
302302
needs: [bump-version, build]
303-
runs-on: ubuntu-latest
303+
runs-on: 'ubuntu-24.04'
304304
permissions:
305305
contents: write
306306

@@ -347,23 +347,23 @@ jobs:
347347

348348
npm-publish:
349349
name: Publish WordPress packages to npm
350-
runs-on: ubuntu-latest
350+
runs-on: 'ubuntu-24.04'
351351
permissions:
352352
contents: read
353353
environment: WordPress packages
354354
needs: [bump-version, build]
355355
if: ${{ endsWith( needs.bump-version.outputs.new_version, '-rc.1' ) }}
356356
steps:
357357
- name: Checkout (for CLI)
358-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
358+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
359359
with:
360360
path: main
361361
ref: trunk
362362
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
363363
persist-credentials: false
364364

365365
- name: Checkout (for publishing)
366-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
366+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
367367
with:
368368
path: publish
369369
# Later, we switch this branch in the script that publishes packages.

.github/workflows/bundle-size.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ permissions: {}
3838
jobs:
3939
build:
4040
name: Check
41-
runs-on: ubuntu-latest
41+
runs-on: 'ubuntu-24.04'
4242
permissions:
4343
contents: read
4444
pull-requests: write
4545

4646
steps:
47-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
47+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4848
with:
4949
fetch-depth: 1
5050
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

.github/workflows/check-backport-changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ permissions: {}
2626
jobs:
2727
check:
2828
name: Check for a Core backport changelog entry
29-
runs-on: ubuntu-latest
29+
runs-on: 'ubuntu-24.04'
3030
permissions:
3131
contents: read
3232
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Core Sync Required') && !contains(github.event.pull_request.labels.*.name, 'Backport from WordPress Core') }}
3333
steps:
34-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3535
with:
3636
ref: ${{ github.event.pull_request.head.ref }}
3737
repository: ${{ github.event.pull_request.head.repo.full_name }}

.github/workflows/check-components-changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions: {}
2222
jobs:
2323
check:
2424
name: Check CHANGELOG diff
25-
runs-on: ubuntu-latest
25+
runs-on: 'ubuntu-24.04'
2626
permissions:
2727
contents: read
2828
steps:
@@ -31,7 +31,7 @@ jobs:
3131
PR_COUNT: ${{ github.event.pull_request.commits }}
3232
run: echo "PR_COMMIT_COUNT=$(( PR_COUNT + 1 ))" >> "${GITHUB_ENV}"
3333
- name: Checkout code
34-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3535
with:
3636
ref: ${{ github.event.pull_request.head.ref }}
3737
repository: ${{ github.event.pull_request.head.repo.full_name }}

.github/workflows/check-dataviews-changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions: {}
2222
jobs:
2323
check:
2424
name: Check CHANGELOG diff
25-
runs-on: ubuntu-latest
25+
runs-on: 'ubuntu-24.04'
2626
permissions:
2727
contents: read
2828
steps:
@@ -31,7 +31,7 @@ jobs:
3131
PR_COUNT: ${{ github.event.pull_request.commits }}
3232
run: echo "PR_COMMIT_COUNT=$(( PR_COUNT + 1 ))" >> "${GITHUB_ENV}"
3333
- name: Checkout code
34-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3535
with:
3636
ref: ${{ github.event.pull_request.head.ref }}
3737
repository: ${{ github.event.pull_request.head.repo.full_name }}

.github/workflows/cherry-pick-wp-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions: {}
2222

2323
jobs:
2424
cherry-pick:
25-
runs-on: ubuntu-latest
25+
runs-on: 'ubuntu-24.04'
2626
permissions:
2727
contents: write
2828
issues: write
@@ -78,7 +78,7 @@ jobs:
7878
7979
- name: Checkout repository
8080
if: env.cherry_pick == 'true'
81-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
81+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8282
with:
8383
token: ${{ secrets.GUTENBERG_TOKEN }}
8484
fetch-depth: 0

.github/workflows/create-block.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions: {}
1818

1919
jobs:
2020
checks:
21-
name: Checks w/Node.js ${{ matrix.node }} on ${{ matrix.os }}
21+
name: Checks w/Node.js ${{ matrix.node }} on ${{ contains( matrix.os, 'macos-' ) && 'MacOS' || contains( matrix.os, 'windows-' ) && 'Windows' || 'Linux' }}
2222
runs-on: ${{ matrix.os }}
2323
permissions:
2424
contents: read
@@ -27,10 +27,10 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
node: ['20', '22', '24']
30-
os: ['macos-latest', 'ubuntu-latest', 'windows-latest']
30+
os: ['macos-15', 'ubuntu-24.04', 'windows-2025']
3131

3232
steps:
33-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3434
with:
3535
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3636
persist-credentials: false

0 commit comments

Comments
 (0)