61
61
# NOTE: Different from prod release, we need both poetry and source code available in earlier steps to bump and verify.
62
62
63
63
# We use a pinned version of Poetry to be certain it won't modify source code before we create a hash
64
+ - name : Harden Runner
65
+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
66
+ with :
67
+ egress-policy : audit
68
+
64
69
- name : Install poetry
65
70
run : |
66
71
pipx install git+https://github.com/python-poetry/poetry@68b88e5390720a3dd84f02940ec5200bfce39ac6 # v1.5.0
@@ -110,6 +115,11 @@ jobs:
110
115
contents : read
111
116
steps :
112
117
# NOTE: we need actions/checkout to configure git first (pre-commit hooks in make dev)
118
+ - name : Harden Runner
119
+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
120
+ with :
121
+ egress-policy : audit
122
+
113
123
- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
114
124
with :
115
125
ref : ${{ env.RELEASE_COMMIT }}
@@ -151,6 +161,11 @@ jobs:
151
161
attestation_hashes : ${{ steps.encoded_hash.outputs.attestation_hashes }}
152
162
steps :
153
163
# NOTE: we need actions/checkout to configure git first (pre-commit hooks in make dev)
164
+ - name : Harden Runner
165
+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
166
+ with :
167
+ egress-policy : audit
168
+
154
169
- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
155
170
with :
156
171
ref : ${{ env.RELEASE_COMMIT }}
@@ -220,6 +235,11 @@ jobs:
220
235
RELEASE_VERSION : ${{ needs.seal.outputs.RELEASE_VERSION }}
221
236
steps :
222
237
# NOTE: we need actions/checkout in order to use our local actions (e.g., ./.github/actions)
238
+ - name : Harden Runner
239
+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
240
+ with :
241
+ egress-policy : audit
242
+
223
243
- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
224
244
with :
225
245
ref : ${{ env.RELEASE_COMMIT }}
@@ -244,6 +264,11 @@ jobs:
244
264
runs-on : ubuntu-latest
245
265
steps :
246
266
# NOTE: we need actions/checkout to authenticate and configure git first
267
+ - name : Harden Runner
268
+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
269
+ with :
270
+ egress-policy : audit
271
+
247
272
- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
248
273
with :
249
274
ref : ${{ env.RELEASE_COMMIT }}
0 commit comments