Skip to content

Commit 3a3afe2

Browse files
committed
chore: upgrade actions to Node 24 runtime (SHA-pinned)
1 parent d92e2c9 commit 3a3afe2

6 files changed

Lines changed: 38 additions & 38 deletions

File tree

.github/workflows/test-destroy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
password: ${{ secrets.DOCKERHUB_PASSWORD }}
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v6
33+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3434
with:
3535
path: ./action
3636

@@ -84,7 +84,7 @@ jobs:
8484
password: ${{ secrets.DOCKERHUB_PASSWORD }}
8585
steps:
8686
- name: Checkout
87-
uses: actions/checkout@v6
87+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
8888
with:
8989
path: ./action
9090

@@ -151,7 +151,7 @@ jobs:
151151
environment: terratest
152152
needs: [setup, test]
153153
steps:
154-
- uses: nick-fields/assert-action@v2
154+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
155155
with:
156156
expected: ""
157157
actual: "${{ needs.test.outputs.sha }}"
@@ -173,7 +173,7 @@ jobs:
173173
type: file
174174
token: ${{ steps.github-app.outputs.token }}
175175

176-
- uses: nick-fields/assert-action@v2
176+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
177177
with:
178178
expected: "false"
179179
actual: "${{ steps.resources.outputs.exists }}"

.github/workflows/test-helm-raw-default-kube-version.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
password: ${{ secrets.DOCKERHUB_PASSWORD }}
4848
steps:
4949
- name: Checkout
50-
uses: actions/checkout@v6
50+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5151
with:
5252
path: ./action
5353

@@ -109,17 +109,17 @@ jobs:
109109
environment: terratest
110110
needs: [setup, test]
111111
steps:
112-
- uses: nick-fields/assert-action@v2
112+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
113113
with:
114114
expected: "success"
115115
actual: "${{ needs.test.outputs.status }}"
116116

117-
- uses: nick-fields/assert-action@v2
117+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
118118
with:
119119
expected: "https://example-app.example.com/dashboard"
120120
actual: "${{ needs.test.outputs.result }}"
121121

122-
- uses: nick-fields/assert-action@v2
122+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
123123
with:
124124
expected: ""
125125
actual: "${{ needs.test.outputs.sha }}"
@@ -133,7 +133,7 @@ jobs:
133133
owner: 'cloudposse-tests'
134134

135135
- name: Checkout Argo Configuration
136-
uses: actions/checkout@v6
136+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
137137
with:
138138
repository: cloudposse-tests/argocd-deploy-non-prod-test
139139
ref: ${{ needs.test.outputs.sha }}
@@ -150,7 +150,7 @@ jobs:
150150
)
151151
echo "value=${image}" >> $GITHUB_OUTPUT
152152
153-
- uses: nick-fields/assert-action@v2
153+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
154154
with:
155155
expected: "nginx:${{ needs.setup.outputs.random }}"
156156
actual: "${{ steps.image.outputs.value }}"
@@ -165,7 +165,7 @@ jobs:
165165
)
166166
echo "value=${ingress}" >> $GITHUB_OUTPUT
167167
168-
- uses: nick-fields/assert-action@v2
168+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
169169
with:
170170
expected: "networking.k8s.io/v1"
171171
actual: "${{ steps.ingress.outputs.value }}"

.github/workflows/test-helm-raw.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
password: ${{ secrets.DOCKERHUB_PASSWORD }}
4848
steps:
4949
- name: Checkout
50-
uses: actions/checkout@v6
50+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5151
with:
5252
path: ./action
5353

@@ -115,17 +115,17 @@ jobs:
115115
environment: terratest
116116
needs: [setup, test]
117117
steps:
118-
- uses: nick-fields/assert-action@v2
118+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
119119
with:
120120
expected: "success"
121121
actual: "${{ needs.test.outputs.status }}"
122122

123-
- uses: nick-fields/assert-action@v2
123+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
124124
with:
125125
expected: "https://example-app.example.com/dashboard"
126126
actual: "${{ needs.test.outputs.result }}"
127127

128-
- uses: nick-fields/assert-action@v2
128+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
129129
with:
130130
expected: ""
131131
actual: "${{ needs.test.outputs.sha }}"
@@ -139,7 +139,7 @@ jobs:
139139
owner: 'cloudposse-tests'
140140

141141
- name: Checkout Argo Configuration
142-
uses: actions/checkout@v6
142+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
143143
with:
144144
repository: cloudposse-tests/argocd-deploy-non-prod-test
145145
ref: ${{ needs.test.outputs.sha }}
@@ -156,7 +156,7 @@ jobs:
156156
)
157157
echo "value=${image}" >> $GITHUB_OUTPUT
158158
159-
- uses: nick-fields/assert-action@v2
159+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
160160
with:
161161
expected: "nginx:${{ needs.setup.outputs.random }}"
162162
actual: "${{ steps.image.outputs.value }}"
@@ -171,7 +171,7 @@ jobs:
171171
)
172172
echo "value=${ingress}" >> $GITHUB_OUTPUT
173173
174-
- uses: nick-fields/assert-action@v2
174+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
175175
with:
176176
expected: "networking.k8s.io/v1beta1"
177177
actual: "${{ steps.ingress.outputs.value }}"
@@ -186,7 +186,7 @@ jobs:
186186
)
187187
echo "value=${name}" >> $GITHUB_OUTPUT
188188
189-
- uses: nick-fields/assert-action@v2
189+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
190190
with:
191191
expected: "staging.test-app"
192192
actual: "${{ steps.name.outputs.value }}"

.github/workflows/test-helmfile-raw-default-kube-version.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
password: ${{ secrets.DOCKERHUB_PASSWORD }}
4949
steps:
5050
- name: Checkout
51-
uses: actions/checkout@v6
51+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5252
with:
5353
path: ./action
5454

@@ -112,17 +112,17 @@ jobs:
112112
environment: terratest
113113
needs: [setup, test]
114114
steps:
115-
- uses: nick-fields/assert-action@v2
115+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
116116
with:
117117
expected: "success"
118118
actual: "${{ needs.test.outputs.status }}"
119119

120-
- uses: nick-fields/assert-action@v2
120+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
121121
with:
122122
expected: "https://example-app.example.com/dashboard"
123123
actual: "${{ needs.test.outputs.result }}"
124124

125-
- uses: nick-fields/assert-action@v2
125+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
126126
with:
127127
expected: ""
128128
actual: "${{ needs.test.outputs.sha }}"
@@ -136,7 +136,7 @@ jobs:
136136
owner: 'cloudposse-tests'
137137

138138
- name: Checkout Argo Configuration
139-
uses: actions/checkout@v6
139+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
140140
with:
141141
repository: cloudposse-tests/argocd-deploy-non-prod-test
142142
ref: ${{ needs.test.outputs.sha }}
@@ -153,7 +153,7 @@ jobs:
153153
)
154154
echo "value=${image}" >> $GITHUB_OUTPUT
155155
156-
- uses: nick-fields/assert-action@v2
156+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
157157
with:
158158
expected: "nginx:${{ needs.setup.outputs.random }}"
159159
actual: "${{ steps.image.outputs.value }}"
@@ -168,7 +168,7 @@ jobs:
168168
)
169169
echo "value=${ingress}" >> $GITHUB_OUTPUT
170170
171-
- uses: nick-fields/assert-action@v2
171+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
172172
with:
173173
expected: "networking.k8s.io/v1"
174174
actual: "${{ steps.ingress.outputs.value }}"
@@ -183,7 +183,7 @@ jobs:
183183
)
184184
echo "value=${app_commit}" >> $GITHUB_OUTPUT
185185
186-
- uses: nick-fields/assert-action@v2
186+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
187187
with:
188188
expected: "${{ github.sha }}"
189189
actual: "${{ steps.app_commit.outputs.value }}"

.github/workflows/test-helmfile-raw.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
password: ${{ secrets.DOCKERHUB_PASSWORD }}
5555
steps:
5656
- name: Checkout
57-
uses: actions/checkout@v6
57+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5858
with:
5959
path: ./action
6060

@@ -133,7 +133,7 @@ jobs:
133133
owner: 'cloudposse-tests'
134134

135135
- name: Checkout Argo Configuration
136-
uses: actions/checkout@v6
136+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
137137
with:
138138
repository: cloudposse-tests/argocd-deploy-non-prod-test
139139
token: ${{ steps.github-app.outputs.token }}
@@ -195,17 +195,17 @@ jobs:
195195
environment: terratest
196196
needs: [setup, test, argocd]
197197
steps:
198-
- uses: nick-fields/assert-action@v2
198+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
199199
with:
200200
expected: "success"
201201
actual: "${{ needs.test.outputs.status }}"
202202

203-
- uses: nick-fields/assert-action@v2
203+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
204204
with:
205205
expected: "https://example-app.example.com/dashboard"
206206
actual: "${{ needs.test.outputs.result }}"
207207

208-
- uses: nick-fields/assert-action@v2
208+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
209209
with:
210210
expected: ""
211211
actual: "${{ needs.test.outputs.sha }}"
@@ -219,7 +219,7 @@ jobs:
219219
owner: 'cloudposse-tests'
220220

221221
- name: Checkout Argo Configuration
222-
uses: actions/checkout@v6
222+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
223223
with:
224224
repository: cloudposse-tests/argocd-deploy-non-prod-test
225225
ref: ${{ needs.test.outputs.sha }}
@@ -236,7 +236,7 @@ jobs:
236236
)
237237
echo "value=${image}" >> $GITHUB_OUTPUT
238238
239-
- uses: nick-fields/assert-action@v2
239+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
240240
with:
241241
expected: "nginx:${{ needs.setup.outputs.random }}"
242242
actual: "${{ steps.image.outputs.value }}"
@@ -251,7 +251,7 @@ jobs:
251251
)
252252
echo "value=${ingress}" >> $GITHUB_OUTPUT
253253
254-
- uses: nick-fields/assert-action@v2
254+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
255255
with:
256256
expected: "networking.k8s.io/v1beta1"
257257
actual: "${{ steps.ingress.outputs.value }}"
@@ -266,7 +266,7 @@ jobs:
266266
)
267267
echo "value=${name}" >> $GITHUB_OUTPUT
268268
269-
- uses: nick-fields/assert-action@v2
269+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
270270
with:
271271
expected: "${{ needs.setup.outputs.environment }}.test-app"
272272
actual: "${{ steps.name.outputs.value }}"
@@ -282,7 +282,7 @@ jobs:
282282
)
283283
echo "value=${app_commit}" >> $GITHUB_OUTPUT
284284
285-
- uses: nick-fields/assert-action@v2
285+
- uses: nick-fields/assert-action@0efd6166067d9c59d89c710fab4f79fb066f8985 # v4.0.1
286286
with:
287287
expected: "${{ github.sha }}"
288288
actual: "${{ steps.app_commit.outputs.value }}"

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ runs:
197197
path: ${{ steps.destination.outputs.filepath }}/${{ inputs.namespace }}/${{ inputs.application }}
198198
199199
- name: Checkout Argo Configuration
200-
uses: actions/checkout@v6
200+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
201201
with:
202202
repository: ${{ steps.destination.outputs.owner }}/${{ steps.destination.outputs.name }}
203203
ref: ${{ steps.destination.outputs.ref }}

0 commit comments

Comments
 (0)