@@ -27,7 +27,7 @@ permissions: {}
2727jobs :
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' }}
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
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.
0 commit comments