Skip to content

Commit 8f82ae3

Browse files
authored
ci: pin third-party actions to SHAs (upgrade to latest releases) (#4)
- kics-github-action v2.1.20 - tj-actions/changed-files v47.0.5 - docker/login-action v4.0.0 - helm/chart-releaser-action v1.7.0 Made-with: Cursor
1 parent ab44e46 commit 8f82ae3

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/kics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: mkdir -p results-dir
5151

5252
- name: Run KICS scan
53-
uses: Checkmarx/kics-github-action@v2.1.19
53+
uses: Checkmarx/kics-github-action@05aa5eb70eede1355220f4ca5238d96b397e30a6 # v2.1.20
5454
with:
5555
path: "."
5656
output_path: "results-dir"

.github/workflows/test-and-release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Get changed files
3636
id: changes
3737
if: ${{ github.event_name != 'workflow_dispatch' }}
38-
uses: tj-actions/changed-files@v47
38+
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5
3939

4040
- name: Detect changed charts
4141
id: matrix
@@ -124,9 +124,9 @@ jobs:
124124
steps:
125125
- uses: actions/checkout@v6
126126

127-
- uses: azure/setup-helm@v4.3.1
128-
- uses: mikefarah/yq@v4.52.4
129-
- uses: azure/setup-kubectl@v4
127+
- uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
128+
- uses: mikefarah/yq@5a7e72a743649b1b3a47d1a1d8214f3453173c51 # v4.52.4
129+
- uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # v4.0.1
130130

131131
- name: Update Helm repositories
132132
run: |
@@ -190,8 +190,8 @@ jobs:
190190
steps:
191191
- uses: actions/checkout@v6
192192

193-
- uses: azure/setup-helm@v4.3.1
194-
- uses: mikefarah/yq@v4.52.4
193+
- uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
194+
- uses: mikefarah/yq@5a7e72a743649b1b3a47d1a1d8214f3453173c51 # v4.52.4
195195

196196
- name: Get chart version
197197
id: vars
@@ -208,7 +208,7 @@ jobs:
208208
path: charts/${{ matrix.chart }}/
209209

210210
- name: Login to GitHub Container Registry
211-
uses: docker/login-action@v3
211+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
212212
with:
213213
registry: ghcr.io
214214
username: ${{ github.actor }}
@@ -247,8 +247,8 @@ jobs:
247247
with:
248248
fetch-depth: 0
249249

250-
- uses: azure/setup-helm@v4.3.1
251-
- uses: mikefarah/yq@v4.52.4
250+
- uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
251+
- uses: mikefarah/yq@5a7e72a743649b1b3a47d1a1d8214f3453173c51 # v4.52.4
252252

253253
- name: Get repository info
254254
run: |
@@ -297,7 +297,7 @@ jobs:
297297
echo "✅ Cleanup complete"
298298
299299
- name: Run chart-releaser
300-
uses: helm/chart-releaser-action@v1.7.0
300+
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
301301
env:
302302
CR_TOKEN: ${{ github.token }}
303303
with:

0 commit comments

Comments
 (0)