Skip to content

Commit a547c26

Browse files
authored
chore(run-digger-action): pin all action dependencies to commit hash (no-op) (#2277)
* chore: pin all action dependencies to commit hash (no-op) * standardize on double quotes
1 parent f946ca3 commit a547c26

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

action.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -262,18 +262,18 @@ runs:
262262
clean: false
263263
ref: refs/pull/${{ github.event.issue.number }}/merge
264264
if: ${{ github.event_name == 'issue_comment' && inputs.configure-checkout == 'true' }}
265-
- uses: actions/checkout@v4
265+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
266266
with:
267267
clean: false
268268
if: ${{ github.event_name != 'issue_comment' && inputs.configure-checkout == 'true' }}
269269
- 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
271271
with:
272272
credentials_json: "${{ inputs.google-auth-credentials }}"
273273
if: ${{ inputs.setup-google-cloud == 'true' && inputs.google-auth-credentials != '' }}
274274

275275
- 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
277277
with:
278278
token_format: access_token
279279
service_account: ${{ inputs.google-service-account }}
@@ -282,11 +282,11 @@ runs:
282282
if: ${{ inputs.setup-google-cloud == 'true' && inputs.google-workload-identity-provider != '' }}
283283

284284
- name: Set up Cloud SDK
285-
uses: google-github-actions/setup-gcloud@v2
285+
uses: google-github-actions/setup-gcloud@e427ad8a34f8676edf47cf7d7925499adf3eb74f # v2.2.1
286286
if: inputs.setup-google-cloud == 'true'
287287

288288
- name: Configure AWS credentials
289-
uses: aws-actions/configure-aws-credentials@v4
289+
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
290290
with:
291291
aws-access-key-id: ${{ inputs.aws-access-key-id }}
292292
aws-secret-access-key: ${{ inputs.aws-secret-access-key }}
@@ -295,7 +295,7 @@ runs:
295295
if: ${{ inputs.setup-aws == 'true' && inputs.aws-role-to-assume == '' }}
296296

297297
- name: Configure OIDC AWS credentials
298-
uses: aws-actions/configure-aws-credentials@v4
298+
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
299299
with:
300300
role-to-assume: ${{ inputs.aws-role-to-assume }}
301301
aws-region: ${{ inputs.aws-region }}
@@ -304,7 +304,7 @@ runs:
304304
if: ${{ inputs.setup-aws == 'true' && inputs.aws-role-to-assume != '' }}
305305

306306
- name: Configure OIDC Azure credentials
307-
uses: azure/[email protected]
307+
uses: azure/login@6c251865b4e6290e7b78be643ea2d005bc51f69a # v2.1.1
308308
with:
309309
client-id: ${{ inputs.azure-client-id }}
310310
tenant-id: ${{ inputs.azure-tenant-id }}
@@ -322,7 +322,7 @@ runs:
322322
echo "TG_PROVIDER_CACHE_DIR=$CACHE_DIR" >> $GITHUB_ENV
323323
echo "TERRAGRUNT_PROVIDER_CACHE_DIR=$CACHE_DIR" >> $GITHUB_ENV
324324
325-
- uses: actions/cache/restore@v4
325+
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
326326
id: restore_cache
327327
name: restore_cache
328328
with:
@@ -352,31 +352,31 @@ runs:
352352

353353
# Then terraform setup happens...
354354
- name: Setup Terraform
355-
uses: hashicorp/setup-terraform@v3
355+
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
356356
with:
357357
terraform_version: ${{ inputs.terraform-version }}
358358
terraform_wrapper: false
359359
if: inputs.setup-terraform == 'true'
360360

361361
- name: Setup tfenv
362-
uses: rhythmictech/[email protected]
362+
uses: rhythmictech/actions-setup-tfenv@ef1296cdbec243306d3a3d31909582ca1eeb4627 # v0.1.2
363363
if: inputs.setup-tfenv == 'true'
364364

365365
- name: Setup Terragrunt
366-
uses: autero1/[email protected]
366+
uses: autero1/action-terragrunt@aefb0a43c4f5503a91fefb307745c4d51c26ed0e # v3.0.2
367367
with:
368368
terragrunt-version: ${{ inputs.terragrunt-version }}
369369
if: inputs.setup-terragrunt == 'true'
370370

371371
- name: Setup OpenTofu
372-
uses: opentofu/[email protected]
372+
uses: opentofu/setup-opentofu@592200bd4b9bbf4772ace78f887668b1aee8f716 # v1.0.5
373373
with:
374374
tofu_version: ${{ inputs.opentofu-version }}
375375
tofu_wrapper: false
376376
if: inputs.setup-opentofu == 'true'
377377

378378
- name: Setup Pulumi
379-
uses: pulumi/actions@v4
379+
uses: pulumi/actions@a3f382e1242b69ab33854c253c3b580f1226348e # v4.5.1
380380
with:
381381
tofu_version: ${{ inputs.pulumi-version }}
382382
if: inputs.setup-pulumi == 'true'
@@ -392,7 +392,7 @@ runs:
392392
if: inputs.setup-checkov == 'true'
393393

394394
- name: setup go
395-
uses: actions/setup-go@v5
395+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
396396
with:
397397
go-version-file: "${{ github.action_path }}/cli/go.mod"
398398
cache: false
@@ -419,7 +419,7 @@ runs:
419419
if: ${{ !startsWith(github.action_ref, 'v') }}
420420

421421
- name: Adding required env vars for next step
422-
uses: actions/github-script@v7
422+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
423423
env:
424424
github-token: $GITHUB_TOKEN
425425
with:
@@ -634,7 +634,7 @@ runs:
634634
$BIN
635635
echo "✅ digger completed"
636636
637-
- uses: actions/cache/save@v4
637+
- uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
638638
name: cache-save
639639
if: ${{ always() && inputs.cache-dependencies == 'true' && steps.restore_cache.outputs.cache-hit != 'true' }}
640640
with:

0 commit comments

Comments
 (0)