Skip to content

Commit fced453

Browse files
jtroupdhenrich
andauthored
chore: update Github Actions and switch to SHA pinning over tags (#10)
### what 1. Update out-of-date Github Actions and switch to SHA pinning over version tags 2. Switch parse-tool-versions to use postfix rather than prefix ### why 1. So we can enforce SHA pinning in the org, see: https://github.blog/changelog/2025-08-15-github-actions-policy-now-supports-blocking-and-sha-pinning-actions/ 2. Consistency - 6 other repos use postfix, only this one uses prefix. ### testing Landing this PR ### docs N/A Co-authored-by: Dean Henrichsmeyer <[email protected]>
1 parent 22b46a3 commit fced453

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,28 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1717

1818
- name: Set tool versions
19-
uses: wistia/[email protected]
19+
uses: wistia/parse-tool-versions@32f568a4ffd4bfa7720ebf93f171597d1ebc979a # v2.1.1
2020
with:
21-
prefix: TOOL_VERSION_
21+
postfix: _TOOL_VERSION
2222

2323
- name: Setup Just
24-
uses: extractions/setup-just@v3
24+
uses: extractions/setup-crate@4993624604c307fbca528d28a3c8b60fa5ecc859 # v1.4.0
2525
with:
26-
just-version: ${{ env.TOOL_VERSION_JUST }}
26+
repo: casey/just
27+
version: ${{ env.JUST_TOOL_VERSION }}
2728

2829
- name: Setup Terraform
29-
uses: hashicorp/setup-terraform@v3
30+
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
3031
with:
31-
terraform_version: ${{ env.TOOL_VERSION_TERRAFORM }}
32+
terraform_version: ${{ env.TERRAFORM_TOOL_VERSION }}
3233

3334
- name: Setup TFLint
34-
uses: terraform-linters/setup-tflint@v4
35+
uses: terraform-linters/setup-tflint@4cb9feea73331a35b422df102992a03a44a3bb33 # v6.2.1
3536
with:
36-
tflint_version: ${{ env.TOOL_VERSION_TFLINT }}
37+
tflint_version: ${{ env.TFLINT_TOOL_VERSION }}
3738

3839
- name: Lint Terraform files
3940
run: |
@@ -43,9 +44,9 @@ jobs:
4344
runs-on: ubuntu-latest
4445
steps:
4546
- name: Checkout
46-
uses: actions/checkout@v4
47+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4748

4849
- name: Check documentation
49-
uses: terraform-docs/[email protected]
50+
uses: terraform-docs/gh-actions@6de6da0cefcc6b4b7a5cbea4d79d97060733093c # v1.4.1
5051
with:
5152
fail-on-diff: true

0 commit comments

Comments
 (0)