68
68
# https://github.com/aws-observability/aws-otel-java-instrumentation/tree/93870a550ac30988fbdd5d3bf1e8f9f1b37916f5/smoke-tests
69
69
70
70
- name : Upload SDK artifact
71
- uses : actions/upload-artifact@v4
71
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
72
72
with :
73
73
name : ${{ env.ARTIFACT_NAME }}
74
74
path : dist/${{ env.ARTIFACT_NAME }}
92
92
echo ${MATRIX}
93
93
echo "aws_regions_json=${MATRIX}" >> $GITHUB_OUTPUT
94
94
- name : Checkout Repo @ SHA - ${{ github.sha }}
95
- uses : actions/checkout@v4
96
- - uses : actions/setup-python@v5
95
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
96
+ - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
97
97
with :
98
98
python-version : ' 3.x'
99
99
- name : Build layers
@@ -103,7 +103,7 @@ jobs:
103
103
pip install tox
104
104
tox
105
105
- name : upload layer
106
- uses : actions/upload-artifact@v4
106
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
107
107
with :
108
108
name : layer.zip
109
109
path : lambda-layer/src/build/aws-opentelemetry-python-layer.zip
@@ -113,7 +113,7 @@ jobs:
113
113
runs-on : ubuntu-latest
114
114
steps :
115
115
- name : Checkout Repo @ SHA - ${{ github.sha }}
116
- uses : actions/checkout@v4
116
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
117
117
118
118
- name : Configure AWS credentials for PyPI secrets
119
119
uses : aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 # v5.0.0
@@ -158,7 +158,7 @@ jobs:
158
158
run : pip install twine
159
159
160
160
- name : Download SDK artifact
161
- uses : actions/download-artifact@v4
161
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
162
162
with :
163
163
name : ${{ env.ARTIFACT_NAME }}
164
164
@@ -227,7 +227,7 @@ jobs:
227
227
fi
228
228
SECRET_KEY=${SECRET_KEY//-/_}
229
229
echo "SECRET_KEY=${SECRET_KEY}" >> $GITHUB_ENV
230
- - uses : aws-actions/configure-aws-credentials@v4 .0.2
230
+ - uses : aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 # v5 .0.0
231
231
with :
232
232
role-to-assume : ${{ secrets[env.SECRET_KEY] }}
233
233
role-duration-seconds : 1200
@@ -236,7 +236,7 @@ jobs:
236
236
run : |
237
237
echo BUCKET_NAME=python-lambda-layer-${{ github.run_id }}-${{ matrix.aws_region }} | tee --append $GITHUB_ENV
238
238
- name : download layer.zip
239
- uses : actions/download-artifact@v4
239
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
240
240
with :
241
241
name : layer.zip
242
242
- name : publish
@@ -274,7 +274,7 @@ jobs:
274
274
--action lambda:GetLayerVersion
275
275
- name : upload layer arn artifact
276
276
if : ${{ success() }}
277
- uses : actions/upload-artifact@v4
277
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
278
278
with :
279
279
name : ${{ env.LAYER_NAME }}-${{ matrix.aws_region }}
280
280
path : ${{ env.LAYER_NAME }}/${{ matrix.aws_region }}
@@ -290,10 +290,10 @@ jobs:
290
290
layer-note : ${{ steps.layer-note.outputs.layer-note }}
291
291
steps :
292
292
- name : Checkout Repo @ SHA - ${{ github.sha }}
293
- uses : actions/checkout@v4
294
- - uses : hashicorp/setup-terraform@v2
293
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
294
+ - uses : hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
295
295
- name : download layerARNs
296
- uses : actions/download-artifact@v4
296
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
297
297
with :
298
298
pattern : ${{ env.LAYER_NAME }}-*
299
299
path : ${{ env.LAYER_NAME }}
@@ -354,15 +354,15 @@ jobs:
354
354
runs-on : ubuntu-latest
355
355
steps :
356
356
- name : Checkout Repo @ SHA - ${{ github.sha }}
357
- uses : actions/checkout@v4
357
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
358
358
359
359
- name : Download SDK artifact
360
- uses : actions/download-artifact@v4
360
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
361
361
with :
362
362
name : ${{ env.ARTIFACT_NAME }}
363
363
364
364
- name : Download layer.zip artifact
365
- uses : actions/download-artifact@v4
365
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
366
366
with :
367
367
name : layer.zip
368
368
0 commit comments