@@ -262,18 +262,18 @@ runs:
262
262
clean : false
263
263
ref : refs/pull/${{ github.event.issue.number }}/merge
264
264
if : ${{ github.event_name == 'issue_comment' && inputs.configure-checkout == 'true' }}
265
- - uses : actions/checkout@v4
265
+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
266
266
with :
267
267
clean : false
268
268
if : ${{ github.event_name != 'issue_comment' && inputs.configure-checkout == 'true' }}
269
269
- name : Set up Google Auth Using A Service Account Key
270
- uses : google-github-actions/auth@v2
270
+ uses : google-github-actions/auth@c200f3691d83b41bf9bbd8638997a462592937ed # v2.1.13
271
271
with :
272
272
credentials_json : " ${{ inputs.google-auth-credentials }}"
273
273
if : ${{ inputs.setup-google-cloud == 'true' && inputs.google-auth-credentials != '' }}
274
274
275
275
- name : Set up Google Auth Using Workload Identity Federation
276
- uses : google-github-actions/auth@v2
276
+ uses : google-github-actions/auth@c200f3691d83b41bf9bbd8638997a462592937ed # v2.1.13
277
277
with :
278
278
token_format : access_token
279
279
service_account : ${{ inputs.google-service-account }}
@@ -282,11 +282,11 @@ runs:
282
282
if : ${{ inputs.setup-google-cloud == 'true' && inputs.google-workload-identity-provider != '' }}
283
283
284
284
- name : Set up Cloud SDK
285
- uses : google-github-actions/setup-gcloud@v2
285
+ uses : google-github-actions/setup-gcloud@e427ad8a34f8676edf47cf7d7925499adf3eb74f # v2.2.1
286
286
if : inputs.setup-google-cloud == 'true'
287
287
288
288
- name : Configure AWS credentials
289
- uses : aws-actions/configure-aws-credentials@v4
289
+ uses : aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
290
290
with :
291
291
aws-access-key-id : ${{ inputs.aws-access-key-id }}
292
292
aws-secret-access-key : ${{ inputs.aws-secret-access-key }}
@@ -295,7 +295,7 @@ runs:
295
295
if : ${{ inputs.setup-aws == 'true' && inputs.aws-role-to-assume == '' }}
296
296
297
297
- name : Configure OIDC AWS credentials
298
- uses : aws-actions/configure-aws-credentials@v4
298
+ uses : aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
299
299
with :
300
300
role-to-assume : ${{ inputs.aws-role-to-assume }}
301
301
aws-region : ${{ inputs.aws-region }}
@@ -304,7 +304,7 @@ runs:
304
304
if : ${{ inputs.setup-aws == 'true' && inputs.aws-role-to-assume != '' }}
305
305
306
306
- name : Configure OIDC Azure credentials
307
-
307
+ uses : azure/login@6c251865b4e6290e7b78be643ea2d005bc51f69a # v2.1.1
308
308
with :
309
309
client-id : ${{ inputs.azure-client-id }}
310
310
tenant-id : ${{ inputs.azure-tenant-id }}
@@ -322,7 +322,7 @@ runs:
322
322
echo "TG_PROVIDER_CACHE_DIR=$CACHE_DIR" >> $GITHUB_ENV
323
323
echo "TERRAGRUNT_PROVIDER_CACHE_DIR=$CACHE_DIR" >> $GITHUB_ENV
324
324
325
- - uses : actions/cache/restore@v4
325
+ - uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
326
326
id : restore_cache
327
327
name : restore_cache
328
328
with :
@@ -352,31 +352,31 @@ runs:
352
352
353
353
# Then terraform setup happens...
354
354
- name : Setup Terraform
355
- uses : hashicorp/setup-terraform@v3
355
+ uses : hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
356
356
with :
357
357
terraform_version : ${{ inputs.terraform-version }}
358
358
terraform_wrapper : false
359
359
if : inputs.setup-terraform == 'true'
360
360
361
361
- name : Setup tfenv
362
- uses :
rhythmictech/[email protected]
362
+ uses : rhythmictech/actions-setup-tfenv@ef1296cdbec243306d3a3d31909582ca1eeb4627 # v0.1.2
363
363
if : inputs.setup-tfenv == 'true'
364
364
365
365
- name : Setup Terragrunt
366
-
366
+ uses : autero1/action-terragrunt@aefb0a43c4f5503a91fefb307745c4d51c26ed0e # v3.0.2
367
367
with :
368
368
terragrunt-version : ${{ inputs.terragrunt-version }}
369
369
if : inputs.setup-terragrunt == 'true'
370
370
371
371
- name : Setup OpenTofu
372
-
372
+ uses : opentofu/setup-opentofu@592200bd4b9bbf4772ace78f887668b1aee8f716 # v1.0.5
373
373
with :
374
374
tofu_version : ${{ inputs.opentofu-version }}
375
375
tofu_wrapper : false
376
376
if : inputs.setup-opentofu == 'true'
377
377
378
378
- name : Setup Pulumi
379
- uses : pulumi/actions@v4
379
+ uses : pulumi/actions@a3f382e1242b69ab33854c253c3b580f1226348e # v4.5.1
380
380
with :
381
381
tofu_version : ${{ inputs.pulumi-version }}
382
382
if : inputs.setup-pulumi == 'true'
@@ -392,7 +392,7 @@ runs:
392
392
if : inputs.setup-checkov == 'true'
393
393
394
394
- name : setup go
395
- uses : actions/setup-go@v5
395
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
396
396
with :
397
397
go-version-file : " ${{ github.action_path }}/cli/go.mod"
398
398
cache : false
@@ -419,7 +419,7 @@ runs:
419
419
if : ${{ !startsWith(github.action_ref, 'v') }}
420
420
421
421
- name : Adding required env vars for next step
422
- uses : actions/github-script@v7
422
+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
423
423
env :
424
424
github-token : $GITHUB_TOKEN
425
425
with :
@@ -634,7 +634,7 @@ runs:
634
634
$BIN
635
635
echo "✅ digger completed"
636
636
637
- - uses : actions/cache/save@v4
637
+ - uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
638
638
name : cache-save
639
639
if : ${{ always() && inputs.cache-dependencies == 'true' && steps.restore_cache.outputs.cache-hit != 'true' }}
640
640
with :
0 commit comments