@@ -64,12 +64,12 @@ jobs:
6464 env :
6565 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6666 REF : ${{ (github.ref_type == 'tag' && github.ref_name) || (github.event_name == 'workflow_dispatch' && inputs.version) || '' }}
67- - uses : actions/checkout@v6
67+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6868 with :
6969 ref : ${{ steps.check.outputs.ref }}
7070 persist-credentials : false
7171 - name : Set up Docker Buildx
72- uses : docker/setup-buildx-action@v4
72+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
7373 - name : Create platforms matrix
7474 id : matrix
7575 run : |
@@ -111,16 +111,16 @@ jobs:
111111 run : echo "sanitized_platform=${PLATFORM//\//-}" >> "${GITHUB_OUTPUT}"
112112 env :
113113 PLATFORM : ${{ matrix.platform }}
114- - uses : actions/checkout@v6
114+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
115115 with :
116116 ref : ${{ needs.prepare.outputs.ref }}
117117 persist-credentials : false
118118 - name : Set up Docker Buildx
119- uses : docker/setup-buildx-action@v4
119+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
120120 with :
121121 platforms : ${{ matrix.platform }}
122122 - name : Login to DockerHub
123- uses : docker/login-action@v4
123+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
124124 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
125125 with :
126126 username : ${{ vars.DOCKERHUB_USERNAME }}
@@ -140,7 +140,7 @@ jobs:
140140 REF : ${{ needs.prepare.outputs.ref }}
141141 - name : Build
142142 id : build
143- uses : docker/bake-action@v7
143+ uses : docker/bake-action@a66e1c87e2eca0503c343edf1d208c716d54b8a8 # v7
144144 with :
145145 pull : true
146146 load : ${{ !fromJson(needs.prepare.outputs.push) || matrix.debug || matrix.mimalloc }}
@@ -172,7 +172,7 @@ jobs:
172172 METADATA : ${{ steps.build.outputs.metadata }}
173173 - name : Upload metadata
174174 if : fromJson(needs.prepare.outputs.push) && !matrix.debug && !matrix.mimalloc
175- uses : actions/upload-artifact@v7
175+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
176176 with :
177177 name : metadata-static-builder-musl-${{ steps.prepare.outputs.sanitized_platform }}
178178 path : /tmp/metadata/*
@@ -192,7 +192,7 @@ jobs:
192192 PLATFORM : ${{ matrix.platform }}
193193 - name : Upload artifact
194194 if : ${{ !fromJson(needs.prepare.outputs.push) }}
195- uses : actions/upload-artifact@v7
195+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
196196 with :
197197 name : frankenphp-linux-${{ matrix.platform == 'linux/amd64' && 'x86_64' || 'aarch64' }}${{ matrix.debug && '-debug' || '' }}${{ matrix.mimalloc && '-mimalloc' || '' }}
198198 path : frankenphp-linux-${{ matrix.platform == 'linux/amd64' && 'x86_64' || 'aarch64' }}${{ matrix.debug && '-debug' || '' }}${{ matrix.mimalloc && '-mimalloc' || '' }}
@@ -204,7 +204,7 @@ jobs:
204204 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
205205 REF : ${{ (github.ref_type == 'tag' && github.ref_name) || needs.prepare.outputs.ref }}
206206 - if : fromJson(needs.prepare.outputs.push) && (needs.prepare.outputs.ref || github.ref_type == 'tag')
207- uses : actions/attest-build-provenance@v4
207+ uses : actions/attest-build-provenance@b3e506e8c389afc651c5bacf2b8f2a1ea0557215 # v4
208208 with :
209209 subject-path : ${{ github.workspace }}/frankenphp-linux-*
210210 - name : Run sanity checks
@@ -267,7 +267,7 @@ jobs:
267267 run : echo "sanitized_platform=${PLATFORM//\//-}" >> "${GITHUB_OUTPUT}"
268268 env :
269269 PLATFORM : ${{ matrix.platform }}
270- - uses : actions/checkout@v6
270+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
271271 with :
272272 ref : ${{ needs.prepare.outputs.ref }}
273273 persist-credentials : false
@@ -285,18 +285,18 @@ jobs:
285285 env :
286286 REF : ${{ needs.prepare.outputs.ref }}
287287 - name : Set up Docker Buildx
288- uses : docker/setup-buildx-action@v4
288+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
289289 with :
290290 platforms : ${{ matrix.platform }}
291291 - name : Login to DockerHub
292- uses : docker/login-action@v4
292+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
293293 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
294294 with :
295295 username : ${{ vars.DOCKERHUB_USERNAME }}
296296 password : ${{ secrets.DOCKERHUB_TOKEN }}
297297 - name : Build
298298 id : build
299- uses : docker/bake-action@v7
299+ uses : docker/bake-action@a66e1c87e2eca0503c343edf1d208c716d54b8a8 # v7
300300 with :
301301 pull : true
302302 load : ${{ !fromJson(needs.prepare.outputs.push) }}
@@ -326,7 +326,7 @@ jobs:
326326 METADATA : ${{ steps.build.outputs.metadata }}
327327 - name : Upload metadata
328328 if : fromJson(needs.prepare.outputs.push)
329- uses : actions/upload-artifact@v7
329+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
330330 with :
331331 name : metadata-static-builder-gnu-${{ steps.prepare.outputs.sanitized_platform }}
332332 path : /tmp/metadata-gnu/*
@@ -352,7 +352,7 @@ jobs:
352352 PLATFORM : ${{ matrix.platform }}
353353 - name : Upload artifact
354354 if : ${{ !fromJson(needs.prepare.outputs.push) }}
355- uses : actions/upload-artifact@v7
355+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
356356 with :
357357 name : frankenphp-linux-${{ matrix.platform == 'linux/amd64' && 'x86_64' || 'aarch64' }}-gnu-files
358358 path : gh-output/*
@@ -363,7 +363,7 @@ jobs:
363363 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
364364 REF : ${{ (github.ref_type == 'tag' && github.ref_name) || needs.prepare.outputs.ref }}
365365 - if : fromJson(needs.prepare.outputs.push) && (needs.prepare.outputs.ref || github.ref_type == 'tag')
366- uses : actions/attest-build-provenance@v4
366+ uses : actions/attest-build-provenance@b3e506e8c389afc651c5bacf2b8f2a1ea0557215 # v4
367367 with :
368368 subject-path : ${{ github.workspace }}/gh-output/frankenphp-linux-*-gnu
369369 - name : Run sanity checks
@@ -391,21 +391,21 @@ jobs:
391391 if : fromJson(needs.prepare.outputs.push)
392392 steps :
393393 - name : Download metadata
394- uses : actions/download-artifact@v8
394+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
395395 with :
396396 pattern : metadata-static-builder-musl-*
397397 path : /tmp/metadata
398398 merge-multiple : true
399399 - name : Download GNU metadata
400- uses : actions/download-artifact@v8
400+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
401401 with :
402402 pattern : metadata-static-builder-gnu-*
403403 path : /tmp/metadata-gnu
404404 merge-multiple : true
405405 - name : Set up Docker Buildx
406- uses : docker/setup-buildx-action@v4
406+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
407407 - name : Login to DockerHub
408- uses : docker/login-action@v4
408+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
409409 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
410410 with :
411411 username : ${{ vars.DOCKERHUB_USERNAME }}
@@ -454,11 +454,11 @@ jobs:
454454 env :
455455 HOMEBREW_NO_AUTO_UPDATE : 1
456456 steps :
457- - uses : actions/checkout@v6
457+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
458458 with :
459459 ref : ${{ needs.prepare.outputs.ref }}
460460 persist-credentials : false
461- - uses : actions/setup-go@v6
461+ - uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
462462 with : # zizmor: ignore[cache-poisoning]
463463 go-version : " 1.26"
464464 cache-dependency-path : |
@@ -486,17 +486,17 @@ jobs:
486486 NO_COMPRESS : ${{ github.event_name == 'pull_request' && '1' || '' }}
487487 - name : Upload logs
488488 if : ${{ failure() }}
489- uses : actions/upload-artifact@v7
489+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
490490 with :
491491 path : dist/static-php-cli/log
492492 name : static-php-cli-log-${{ matrix.platform }}-${{ github.sha }}
493493 - if : needs.prepare.outputs.ref || github.ref_type == 'tag'
494- uses : actions/attest-build-provenance@v4
494+ uses : actions/attest-build-provenance@b3e506e8c389afc651c5bacf2b8f2a1ea0557215 # v4
495495 with :
496496 subject-path : ${{ github.workspace }}/dist/frankenphp-mac-*
497497 - name : Upload artifact
498498 if : github.ref_type == 'branch'
499- uses : actions/upload-artifact@v7
499+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
500500 with :
501501 name : frankenphp-mac-${{ matrix.platform }}
502502 path : dist/frankenphp-mac-${{ matrix.platform }}
0 commit comments