Skip to content

Commit 7da4093

Browse files
authored
ci: pin actions (#101)
1 parent 3dc2f4f commit 7da4093

5 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/docs-fmt-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121

2222
- name: Setup go
23-
uses: actions/setup-go@v4
23+
uses: actions/setup-go@19bb51245e9c80abacb2e91cc42b33fa478b8639 # v4.2.1
2424
with:
2525
go-version: '1.20.x'
2626
cache-dependency-path: tests/go.sum
2727

2828
- name: Setup Terraform
29-
uses: hashicorp/setup-terraform@v3
29+
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
3030
with:
3131
terraform_version: latest
3232
terraform_wrapper: false

.github/workflows/end-to-end-test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
steps:
5757
- name: Checkout Bootstrap Modules
58-
uses: actions/checkout@v4
58+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5959
with:
6060
path: ${{ env.BOOTSTRAP_MODULE_FOLDER }}
6161
- name: Generate Matrix
@@ -83,35 +83,35 @@ jobs:
8383
run: env | sort
8484

8585
- name: Checkout Bootstrap Modules
86-
uses: actions/checkout@v4
86+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8787
with:
8888
path: ${{ env.BOOTSTRAP_MODULE_FOLDER }}
8989

9090
- name: Checkout PowerShell Module
91-
uses: actions/checkout@v4
91+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9292
with:
9393
repository: ${{ env.POWERSHELL_MODULE_REPOSITORY }}
9494
ref: ${{ env.ALZ_POWERSHELL_BRANCH }}
9595
path: ${{ env.POWERSHELL_MODULE_FOLDER }}
9696

9797
- name: Checkout Starter Modules for Bicep
98-
uses: actions/checkout@v4
98+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9999
if: ${{ matrix.infrastructureAsCode == 'bicep' }}
100100
with:
101101
repository: ${{ env.BICEP_STARTER_MODULE_REPOSITORY }}
102102
ref: ${{ env.ALZ_BICEP_BRANCH }}
103103
path: ${{ env.STARTER_MODULE_FOLDER }}
104104

105105
- name: Checkout Starter Modules for Terraform
106-
uses: actions/checkout@v4
106+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
107107
if: ${{ matrix.infrastructureAsCode == 'terraform' }}
108108
with:
109109
repository: ${{ env.TERRAFORM_STARTER_MODULE_REPOSITORY }}
110110
ref: ${{ env.ALZ_TERRAFORM_BRANCH }}
111111
path: ${{ env.STARTER_MODULE_FOLDER }}
112112

113113
- name: Setup Terraform
114-
uses: hashicorp/setup-terraform@v3
114+
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
115115
with:
116116
terraform_version: ${{ matrix.terraformVersion }}
117117
terraform_wrapper: false
@@ -513,7 +513,7 @@ jobs:
513513
shell: pwsh
514514

515515
- name: Setup Terraform
516-
uses: hashicorp/setup-terraform@v3
516+
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
517517
with:
518518
terraform_version: "latest"
519519
terraform_wrapper: false

.github/workflows/pr-title-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
name: Validate PR Title
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: amannn/action-semantic-pull-request@v5
15+
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Generate Release
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121

2222
- name: Zip and Tar
2323
run: |
@@ -30,15 +30,15 @@ jobs:
3030
zip -r ../bootstrap_modules.zip .
3131
3232
- name: Upload Artifacts
33-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3434
with:
3535
name: bootstrap_modules
3636
path: |
3737
bootstrap_modules.tar.gz
3838
bootstrap_modules.zip
3939
4040
- name: Release
41-
uses: softprops/action-gh-release@v2.2.2
41+
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
4242
if: startsWith(github.ref, 'refs/tags/')
4343
with:
4444
files: |

.github/workflows/super-linter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
name: super linter
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1919
- name: Setup Terraform
20-
uses: hashicorp/setup-terraform@v2
20+
uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3
2121
with:
2222
terraform_version: latest
2323
terraform_wrapper: false
2424
- name: Run github/super-linter/slim
25-
uses: github/super-linter/slim@v5
25+
uses: github/super-linter/slim@45fc0d88288beee4701c62761281edfee85655d7 # v5.0.0
2626
env:
2727
# Lint all code
2828
VALIDATE_ALL_CODEBASE: true

0 commit comments

Comments
 (0)