@@ -24,17 +24,17 @@ jobs:
2424 actions : read # Allow cache restore without high-privilege write access
2525 steps :
2626 - name : Harden Runner
27- uses : step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
27+ uses : step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
2828 with :
2929 egress-policy : audit
3030
3131 - name : Checkout Code
3232 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
3434 - name : Set up Node.js
35- uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2 .0
35+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3 .0
3636 with :
37- node-version : ' 20'
37+ node-version : ' 20.19.0 '
3838
3939 - name : Install dependencies
4040 run : npm ci
@@ -56,15 +56,15 @@ jobs:
5656 contents : read
5757 steps :
5858 - name : Harden Runner
59- uses : step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
59+ uses : step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
6060 with :
6161 egress-policy : audit
6262
6363 - name : Checkout Code
6464 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6565
6666 - name : Set up Node.js
67- uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2 .0
67+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3 .0
6868 with :
6969 node-version : ' 20'
7070
@@ -107,7 +107,7 @@ jobs:
107107 steps :
108108 # 🛡️ HARDEN RUNNER: Monitor network traffic
109109 - name : Harden Runner
110- uses : step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
110+ uses : step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
111111 with :
112112 egress-policy : audit
113113
@@ -116,7 +116,7 @@ jobs:
116116
117117 # 🔍 TRIVY: Scan for known vulnerabilities in dependencies
118118 - name : Run Trivy Vulnerability Scanner
119- uses : aquasecurity/trivy-action@e368e328979b113139d6f9068e03accaed98a518 # v0.34.1
119+ uses : aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # v0.34.2
120120 with :
121121 scan-type : ' fs'
122122 ignore-unfixed : true
@@ -148,18 +148,18 @@ jobs:
148148 image : ${{ steps.image.outputs.image }}
149149 steps :
150150 - name : Harden Runner
151- uses : step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
151+ uses : step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
152152 with :
153153 egress-policy : audit
154154
155155 - name : Checkout Code
156156 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
157157
158158 - name : Set up Docker Buildx
159- uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12 .0
159+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0 .0
160160
161161 - name : Log in to GitHub Container Registry
162- uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7 .0
162+ uses : docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0 .0
163163 with :
164164 registry : ghcr.io
165165 username : ${{ github.actor }}
@@ -173,7 +173,7 @@ jobs:
173173 echo "started_on=$TIMESTAMP" >> $GITHUB_OUTPUT
174174
175175 - name : Build and push Docker image
176- uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
176+ uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
177177 id : build
178178 with :
179179 context : .
@@ -220,14 +220,14 @@ jobs:
220220
221221 # 📦 GENERATE SBOM
222222 - name : Generate SBOM
223- uses : anchore/sbom-action@28d71544de8eaf1b958d335707167c5f783590ad # v0.22.2
223+ uses : anchore/sbom-action@17ae1740179002c89186b61233e0f892c3118b11 # v0.23.0
224224 with :
225225 image : ${{ steps.image.outputs.image }}
226226 format : cyclonedx-json
227227 output-file : sbom.json
228228
229229 - name : Upload SBOM
230- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
230+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 .0.0
231231 with :
232232 name : sbom
233233 path : sbom.json
@@ -286,7 +286,7 @@ jobs:
286286
287287 # 🏆 GITHUB ATTESTATION
288288 - name : Generate GitHub Attestation
289- uses : actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3
289+ uses : actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
290290 with :
291291 subject-name : ghcr.io/${{ github.repository }}
292292 subject-digest : ${{ steps.build.outputs.digest }}
0 commit comments