@@ -27,7 +27,7 @@ permissions: {}
27
27
jobs :
28
28
compute-stable-branches :
29
29
name : Compute current and next stable release branches
30
- runs-on : ubuntu-latest
30
+ runs-on : ' ubuntu-24.04 '
31
31
permissions :
32
32
contents : read
33
33
if : ${{ github.event_name == 'workflow_dispatch' }}
55
55
56
56
bump-version :
57
57
name : Bump version
58
- runs-on : ubuntu-latest
58
+ runs-on : ' ubuntu-24.04 '
59
59
permissions :
60
60
contents : write
61
61
needs : compute-stable-branches
81
81
82
82
steps :
83
83
- name : Checkout code
84
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
84
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
85
85
with :
86
86
token : ${{ secrets.GUTENBERG_TOKEN }}
87
87
show-progress : ${{ runner.debug == '1' && 'true' || 'false' }}
@@ -180,7 +180,7 @@ jobs:
180
180
181
181
build :
182
182
name : Build Release Artifact
183
- runs-on : ubuntu-latest
183
+ runs-on : ' ubuntu-24.04 '
184
184
permissions :
185
185
contents : read
186
186
needs : bump-version
@@ -195,7 +195,7 @@ jobs:
195
195
196
196
steps :
197
197
- name : Checkout code
198
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
198
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
199
199
with :
200
200
ref : ${{ needs.bump-version.outputs.release_branch || github.ref }}
201
201
show-progress : ${{ runner.debug == '1' && 'true' || 'false' }}
@@ -244,7 +244,7 @@ jobs:
244
244
revert-version-bump :
245
245
name : Revert version bump if build failed
246
246
needs : [bump-version, build]
247
- runs-on : ubuntu-latest
247
+ runs-on : ' ubuntu-24.04 '
248
248
permissions :
249
249
contents : write
250
250
if : |
@@ -254,7 +254,7 @@ jobs:
254
254
255
255
steps :
256
256
- name : Checkout code
257
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
257
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
258
258
with :
259
259
fetch-depth : 2
260
260
ref : ${{ needs.bump-version.outputs.release_branch }}
@@ -300,7 +300,7 @@ jobs:
300
300
create-release :
301
301
name : Create Release Draft and Attach Asset
302
302
needs : [bump-version, build]
303
- runs-on : ubuntu-latest
303
+ runs-on : ' ubuntu-24.04 '
304
304
permissions :
305
305
contents : write
306
306
@@ -347,23 +347,23 @@ jobs:
347
347
348
348
npm-publish :
349
349
name : Publish WordPress packages to npm
350
- runs-on : ubuntu-latest
350
+ runs-on : ' ubuntu-24.04 '
351
351
permissions :
352
352
contents : read
353
353
environment : WordPress packages
354
354
needs : [bump-version, build]
355
355
if : ${{ endsWith( needs.bump-version.outputs.new_version, '-rc.1' ) }}
356
356
steps :
357
357
- name : Checkout (for CLI)
358
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
358
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
359
359
with :
360
360
path : main
361
361
ref : trunk
362
362
show-progress : ${{ runner.debug == '1' && 'true' || 'false' }}
363
363
persist-credentials : false
364
364
365
365
- name : Checkout (for publishing)
366
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
366
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
367
367
with :
368
368
path : publish
369
369
# Later, we switch this branch in the script that publishes packages.
0 commit comments