@@ -43,11 +43,11 @@ jobs:
4343 outputs :
4444 hashes : ${{ steps.hash.outputs.hashes }}
4545 steps :
46- - uses : actions/checkout@v4
46+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4747 with :
4848 ref : ${{ inputs.tag }}
4949 - name : Install the latest version of rye
50- uses : eifinger/setup-rye@v2
50+ uses : eifinger/setup-rye@787604a465b1696ad17eedf2f8101df9fc555c94 # v2
5151 with :
5252 version : ${{ vars.RYE_VERSION }}
5353 enable-cache : true
6363 id : hash
6464 run : |
6565 cd dist && echo "hashes=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
66- - uses : actions/upload-artifact@v4
66+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
6767 with :
6868 name : build
6969 path : ./dist
7373 actions : read
7474 contents : write
7575 id-token : write # Needed to access the workflow's OIDC identity.
76- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0
76+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@5a775b367a56d5bd118a224a811bba288150a563 # v2.0.0
7777 with :
7878 base64-subjects : " ${{ needs.build.outputs.hashes }}"
7979 upload-assets : true
@@ -102,11 +102,11 @@ jobs:
102102 prod-key : PROD_LABELBOX_API_KEY_2
103103 da-test-key : DA_GCP_LABELBOX_API_KEY
104104 steps :
105- - uses : actions/checkout@v4
105+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
106106 with :
107107 ref : ${{ inputs.tag }}
108108 - name : Install the latest version of rye
109- uses : eifinger/setup-rye@v2
109+ uses : eifinger/setup-rye@787604a465b1696ad17eedf2f8101df9fc555c94 # v2
110110 with :
111111 version : ${{ vars.RYE_VERSION }}
112112 enable-cache : true
@@ -115,7 +115,7 @@ jobs:
115115 rye config --set-bool behavior.use-uv=true
116116 - name : Python setup
117117 run : rye pin ${{ matrix.python-version }}
118- - uses : actions/download-artifact@v4
118+ - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
119119 with :
120120 name : build
121121 path : ./dist
@@ -151,10 +151,10 @@ jobs:
151151 permissions :
152152 contents : write
153153 steps :
154- - uses : actions/checkout@v4
154+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
155155 with :
156156 ref : ${{ inputs.tag }}
157- - uses : actions/download-artifact@v4
157+ - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
158158 with :
159159 name : build
160160 path : ./artifact
@@ -176,12 +176,12 @@ jobs:
176176 # IMPORTANT: this permission is mandatory for trusted publishing
177177 id-token : write
178178 steps :
179- - uses : actions/download-artifact@v4
179+ - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
180180 with :
181181 name : build
182182 path : ./artifact
183183 - name : Publish package distributions to PyPI
184- uses : pypa/gh-action-pypi-publish@release/v1
184+ uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
185185 with :
186186 packages-dir : artifact/
187187 container-publish :
@@ -198,7 +198,7 @@ jobs:
198198 env :
199199 CONTAINER_IMAGE : " ghcr.io/${{ github.repository }}"
200200 steps :
201- - uses : actions/checkout@v4
201+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
202202 with :
203203 ref : ${{ inputs.tag }}
204204
@@ -207,17 +207,17 @@ jobs:
207207 echo "CONTAINER_IMAGE=${CONTAINER_IMAGE,,}" >> ${GITHUB_ENV}
208208
209209 - name : Set up Docker Buildx
210- uses : docker/setup-buildx-action@v3
210+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
211211
212212 - name : Log in to the Container registry
213- uses : docker/login-action@v3
213+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
214214 with :
215215 registry : ghcr.io
216216 username : ${{ github.actor }}
217217 password : ${{ secrets.GITHUB_TOKEN }}
218218
219219 - name : Build and push
220- uses : docker/build-push-action@v5
220+ uses : docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
221221 id : build_container
222222 with :
223223 context : .
@@ -246,7 +246,7 @@ jobs:
246246 actions : read # for detecting the Github Actions environment.
247247 id-token : write # for creating OIDC tokens for signing.
248248 packages : write # for uploading attestations.
249- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.0.0
249+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@5a775b367a56d5bd118a224a811bba288150a563 # v2.0.0
250250 with :
251251 image : ${{ needs. container-publish.outputs.image }}
252252 digest : ${{ needs. container-publish.outputs.digest }}
0 commit comments