@@ -84,12 +84,12 @@ jobs:
8484 runs-on : ubuntu-latest
8585 environment : crates.io
8686 steps :
87- - uses : actions/checkout@v7
87+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
8888 with :
8989 ref : ${{ inputs.tag }}
9090
9191 - name : Install Rust
92- uses : dtolnay/rust-toolchain@stable
92+ uses : dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
9393
9494 - name : Install system deps
9595 run : |
@@ -204,12 +204,12 @@ jobs:
204204 label : arm64
205205 binary : binary-linux-arm64
206206 steps :
207- - uses : actions/checkout@v7
207+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
208208 with :
209209 ref : ${{ inputs.ref || inputs.tag }}
210210
211211 - name : Download prebuilt binary
212- uses : actions/download-artifact@v8
212+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
213213 with :
214214 name : ${{ matrix.binary }}
215215 run-id : ${{ inputs.prepare_run_id }}
@@ -220,16 +220,16 @@ jobs:
220220 run : chmod +x ./binctx/nodedb
221221
222222 - name : Set up Docker Buildx
223- uses : docker/setup-buildx-action@v4
223+ uses : docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
224224
225225 - name : Log in to Docker Hub
226- uses : docker/login-action@v4
226+ uses : docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
227227 with :
228228 username : ${{ secrets.DOCKERHUB_USERNAME }}
229229 password : ${{ secrets.DOCKERHUB_TOKEN }}
230230
231231 - name : Build and push platform image
232- uses : docker/build-push-action@v7
232+ uses : docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
233233 with :
234234 context : .
235235 build-contexts : binary=./binctx
@@ -256,7 +256,7 @@ jobs:
256256 runs-on : ubuntu-latest
257257 steps :
258258 - name : Log in to Docker Hub
259- uses : docker/login-action@v4
259+ uses : docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
260260 with :
261261 username : ${{ secrets.DOCKERHUB_USERNAME }}
262262 password : ${{ secrets.DOCKERHUB_TOKEN }}
@@ -283,21 +283,29 @@ jobs:
283283 contents : write
284284 actions : read
285285 steps :
286- - uses : actions/checkout@v7
286+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
287287 with :
288288 ref : ${{ inputs.tag }}
289289
290290 - name : Download binary artifacts
291- uses : actions/download-artifact@v8
291+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
292292 with :
293293 pattern : " server-*"
294294 run-id : ${{ inputs.prepare_run_id }}
295295 github-token : ${{ github.token }}
296296 path : ./artifacts
297297 merge-multiple : true
298298
299+ - name : Download SBOM artifact
300+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
301+ with :
302+ name : nodedb-sbom
303+ run-id : ${{ inputs.prepare_run_id }}
304+ github-token : ${{ github.token }}
305+ path : ./artifacts
306+
299307 - name : Create GitHub Release
300- uses : softprops/action-gh-release@v3
308+ uses : softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3
301309 with :
302310 tag_name : ${{ inputs.tag }}
303311 name : NodeDB ${{ needs.validate-version.outputs.version }}
@@ -325,7 +333,7 @@ jobs:
325333 # guarded only by the `notify` input: leave `notify: false` when re-dispatching
326334 # already-announced releases, or you will double-post.
327335 steps :
328- - uses : actions/checkout@v7
336+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
329337 with :
330338 ref : ${{ inputs.tag }}
331339 fetch-depth : 0
0 commit comments