Skip to content

Commit 297bbe0

Browse files
committed
Merge branch 'trunk' into refactor-ts-migration-project-management-automation
2 parents 77eecda + a040815 commit 297bbe0

File tree

96 files changed

+1846
-781
lines changed

Some content is hidden

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

96 files changed

+1846
-781
lines changed

.github/setup-node/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

.github/workflows/end2end-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions: {}
2222
jobs:
2323
e2e-playwright:
2424
name: Playwright - ${{ matrix.part }}
25-
runs-on: ubuntu-latest
25+
runs-on: 'ubuntu-24.04'
2626
permissions:
2727
contents: read
2828
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
@@ -33,7 +33,7 @@ jobs:
3333
totalParts: [8]
3434

3535
steps:
36-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3737
with:
3838
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3939
persist-credentials: false
@@ -80,7 +80,7 @@ jobs:
8080
name: Merge Artifacts
8181
if: ${{ !cancelled() }}
8282
needs: [e2e-playwright]
83-
runs-on: ubuntu-latest
83+
runs-on: 'ubuntu-24.04'
8484
permissions: {}
8585
outputs:
8686
has-flaky-test-report: ${{ !!steps.merge-flaky-tests-reports.outputs.artifact-id }}
@@ -108,15 +108,15 @@ jobs:
108108
name: Report to GitHub
109109
needs: [merge-artifacts]
110110
if: ${{ needs.merge-artifacts.outputs.has-flaky-test-report == 'true' }}
111-
runs-on: ubuntu-latest
111+
runs-on: 'ubuntu-24.04'
112112
permissions:
113113
contents: read
114114
issues: write
115115
pull-requests: write
116116
steps:
117117
# Checkout defaults to using the branch which triggered the event, which
118118
# isn't necessarily `trunk` (e.g. in the case of a merge).
119-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
119+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
120120
with:
121121
ref: trunk
122122
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

.github/workflows/enforce-pr-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions: {}
99

1010
jobs:
1111
type-related-labels:
12-
runs-on: ubuntu-latest
12+
runs-on: 'ubuntu-24.04'
1313
permissions:
1414
pull-requests: write
1515
steps:

0 commit comments

Comments
 (0)