3636 --draft \
3737 ${{ github.ref_name }}
3838
39- - uses : actions/checkout@v4
39+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4040 if : github.ref_type == 'branch'
4141 with :
4242 fetch-depth : 50
7373 runs-on : ubuntu-22.04
7474
7575 steps :
76- - uses : actions/checkout@v4
76+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7777 with :
7878 fetch-depth : 50
7979
@@ -91,19 +91,19 @@ jobs:
9191 shasum -a 256 Docs.zip > Docs.zip.sha256sum
9292
9393 - name : " Upload linux release artifacts"
94- uses : actions/upload-artifact@v4
94+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
9595 with :
9696 name : build-linux-elixir-otp-${{ matrix.otp }}
9797 path : elixir-otp-${{ matrix.otp }}.zip
9898
9999 - name : " Upload windows release artifacts"
100- uses : actions/upload-artifact@v4
100+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
101101 with :
102102 name : build-windows-elixir-otp-${{ matrix.otp }}
103103 path : elixir-otp-${{ matrix.otp }}.exe
104104
105105 - name : " Upload doc artifacts"
106- uses : actions/upload-artifact@v4
106+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
107107 if : matrix.build_docs
108108 with :
109109 name : Docs
@@ -124,12 +124,12 @@ jobs:
124124
125125 steps :
126126 - name : " Download build"
127- uses : actions/download-artifact@v4
127+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
128128 with :
129129 name : build-${{ matrix.flavor }}-elixir-otp-${{ matrix.otp }}
130130
131131 - name : " Sign files with Trusted Signing"
132- 132+ uses : azure/trusted-signing-action@0d74250c661747df006298d0fb49944c10f16e03 # v0.5.1
133133 if : github.repository == 'elixir-lang/elixir' && matrix.flavor == 'windows'
134134 with :
135135 azure-tenant-id : ${{ secrets.AZURE_TENANT_ID }}
@@ -169,7 +169,7 @@ jobs:
169169 shasum -a 256 "$RELEASE_FILE" > "${RELEASE_FILE}.sha256sum"
170170
171171 - name : " Upload linux release artifacts"
172- uses : actions/upload-artifact@v4
172+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
173173 with :
174174 name : sign-${{ matrix.flavor }}-elixir-otp-${{ matrix.otp }}
175175 path : ${{ env.RELEASE_FILE }}*
@@ -189,11 +189,11 @@ jobs:
189189
190190 - name : Checkout project
191191 id : checkout
192- uses : actions/checkout@v4
192+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
193193
194194 - name : " Download Build Artifacts"
195195 id : download-build-artifacts
196- uses : actions/download-artifact@v4
196+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
197197 with :
198198 pattern : " {sign-*-elixir-otp-*,Docs}"
199199 merge-multiple : true
@@ -208,7 +208,7 @@ jobs:
208208
209209 - name : Attest Distribution Assets with SBoM
210210 id : attest-sbom
211- uses : actions/attest-sbom@v2
211+ uses : actions/attest-sbom@115c3be05ff3974bcbd596578934b3f9ce39bf68 # v2.2.0
212212 with :
213213 subject-path : |
214214 /tmp/build-artifacts/{elixir-otp-*.*,Docs.zip}
@@ -236,7 +236,7 @@ jobs:
236236 ATTESTATION : " ${{ steps.attest-sbom.outputs.bundle-path }}"
237237
238238 - name : " Assemble Release SBoM Artifacts"
239- uses : actions/upload-artifact@v4
239+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
240240 with :
241241 name : " SBoM"
242242 path : |
@@ -246,7 +246,7 @@ jobs:
246246 ${{ steps.ort.outputs.results-sbom-spdx-json-path }}
247247
248248 - name : " Assemble Distribution Attestations"
249- uses : actions/upload-artifact@v4
249+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
250250 with :
251251 name : " Attestations"
252252 path : " attestations/*.sigstore"
@@ -256,7 +256,7 @@ jobs:
256256 runs-on : ubuntu-22.04
257257
258258 steps :
259- - uses : actions/download-artifact@v4
259+ - uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
260260 with :
261261 pattern : " {sign-*-elixir-otp-*,Docs,SBoM,Attestations}"
262262 merge-multiple : true
@@ -301,7 +301,7 @@ jobs:
301301 FASTLY_KEY : ${{ secrets.HEX_FASTLY_KEY }}
302302 OTP_GENERIC_VERSION : " 25"
303303 steps :
304- - uses : actions/download-artifact@v4
304+ - uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
305305 with :
306306 pattern : " {sign-*-elixir-otp-*,Docs}"
307307 merge-multiple : true
0 commit comments