Skip to content

Commit

Permalink
Pin terraform lint github actions
Browse files Browse the repository at this point in the history
We prefer to pin all GitHub Actions from a 3rd party in order to
increase determinism and security for our workflows.

Contributes to https://github.com/gravitational/security-findings/issues/50
  • Loading branch information
wadells committed Nov 29, 2023
1 parent 18a4ccf commit f86595a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/terraform-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # v3.0.0

- name: terraform fmt
run: terraform fmt -no-color -check -diff -recursive
Expand All @@ -39,7 +39,7 @@ jobs:
key: tflint-${{ hashFiles('.tflint.hcl') }}

- name: Setup TFLint
uses: terraform-linters/setup-tflint@v4
uses: terraform-linters/setup-tflint@19a52fbac37dacb22a09518e4ef6ee234f2d4987 # v4.0.0

- name: Show version
run: tflint --version
Expand Down

0 comments on commit f86595a

Please sign in to comment.