Skip to content

Commit e6c710a

Browse files
actions: pin to latest actions (hashicorp#10407) (hashicorp#10417)
Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
1 parent 80d8b45 commit e6c710a

File tree

9 files changed

+23
-23
lines changed

9 files changed

+23
-23
lines changed

.github/actions/build-vault/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ runs:
218218
BUNDLE_PATH: out/${{ steps.metadata.outputs.artifact-basename }}.zip
219219
shell: bash
220220
run: make ci-bundle
221-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
221+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
222222
with:
223223
name: ${{ steps.metadata.outputs.artifact-basename }}.zip
224224
path: out/${{ steps.metadata.outputs.artifact-basename }}.zip
@@ -250,13 +250,13 @@ runs:
250250
echo "deb-files=$(basename out/*.deb)"
251251
} | tee -a "$GITHUB_OUTPUT"
252252
- if: inputs.create-packages == 'true'
253-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
253+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
254254
with:
255255
name: ${{ steps.package-files.outputs.rpm-files }}
256256
path: out/${{ steps.package-files.outputs.rpm-files }}
257257
if-no-files-found: error
258258
- if: inputs.create-packages == 'true'
259-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
259+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
260260
with:
261261
name: ${{ steps.package-files.outputs.deb-files }}
262262
path: out/${{ steps.package-files.outputs.deb-files }}

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
key: ui-${{ steps.ui-hash.outputs.ui-hash }}
224224
- if: steps.cache-ui-assets.outputs.cache-hit != 'true'
225225
name: Set up node and yarn
226-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
226+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
227227
with:
228228
node-version-file: ui/package.json
229229
cache: yarn
@@ -517,7 +517,7 @@ jobs:
517517
with:
518518
version: ${{ needs.setup.outputs.vault-version-metadata }}
519519
product: ${{ needs.setup.outputs.vault-binary-name }}
520-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
520+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
521521
if: steps.generate-metadata-file.outcome == 'success' # upload our metadata if we created it
522522
with:
523523
name: metadata.json

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,12 @@ jobs:
272272
with:
273273
github-token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
274274
# Setup node.js without caching to allow running npm install -g yarn (next step)
275-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
275+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
276276
with:
277277
node-version-file: './ui/package.json'
278278
- run: npm install -g yarn
279279
# Setup node.js with caching using the yarn.lock file
280-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
280+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
281281
with:
282282
node-version-file: './ui/package.json'
283283
cache: yarn
@@ -332,7 +332,7 @@ jobs:
332332
mkdir -p test-results/qunit
333333
yarn ${{ needs.setup.outputs.is-ent-branch == 'true' && 'test' || 'test:oss' }}
334334
- if: always()
335-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
335+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
336336
with:
337337
name: test-results-ui
338338
path: ui/test-results
@@ -479,7 +479,7 @@ jobs:
479479
# to secrets.
480480
- if: ${{ needs.setup.outputs.is-fork == 'false' }}
481481
name: Download failure summaries
482-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
482+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
483483
with:
484484
pattern: failure-summary-*.md
485485
path: failure-summaries

.github/workflows/test-enos-scenario-ui.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Set Up Git
8989
run: git config --global url."https://${{ secrets.elevated_github_token }}:@github.com".insteadOf "https://github.com"
9090
- name: Set Up Node
91-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
91+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
9292
with:
9393
node-version-file: './ui/package.json'
9494
- name: Set Up Terraform

.github/workflows/test-go.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -469,14 +469,14 @@ jobs:
469469
tar -cvf '${{ steps.metadata.outputs.go-test-log-archive-name }}' -C "${{ steps.metadata.outputs.go-test-log-dir }}" .
470470
- if: success() || failure()
471471
name: Upload test logs archives
472-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
472+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
473473
with:
474474
name: ${{ steps.metadata.outputs.go-test-log-archive-name }}
475475
path: ${{ steps.metadata.outputs.go-test-log-archive-name }}
476476
retention-days: 7
477477
- if: success() || failure()
478478
name: Upload test results
479-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
479+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
480480
with:
481481
name: ${{ steps.metadata.outputs.go-test-results-upload-key }}
482482
path: |
@@ -514,7 +514,7 @@ jobs:
514514
echo "data-race-result=${result}" | tee -a "$GITHUB_OUTPUT"
515515
- if: (success() || failure()) && steps.data-race-check.outputs.data-race-result == 'failure'
516516
name: Upload data race detector failure log
517-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
517+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
518518
with:
519519
name: ${{ steps.metadata.outputs.data-race-log-upload-key }}
520520
path: ${{ steps.metadata.outputs.go-test-dir }}/${{ steps.metadata.outputs.data-race-log-file }}
@@ -588,7 +588,7 @@ jobs:
588588
>> '${{ steps.metadata.outputs.failure-summary-file-name }}'
589589
- if: success() || failure()
590590
name: Upload failure summary
591-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
591+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
592592
with:
593593
name: ${{ steps.metadata.outputs.failure-summary-file-name }}
594594
path: ${{ steps.metadata.outputs.failure-summary-file-name }}
@@ -605,7 +605,7 @@ jobs:
605605
data-race-output: ${{ steps.status.outputs.data-race-output }}
606606
data-race-result: ${{ steps.status.outputs.data-race-result }}
607607
steps:
608-
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
608+
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
609609
with:
610610
pattern: ${{ needs.test-go.outputs.data-race-log-download-pattern }}
611611
path: data-race-logs
@@ -655,7 +655,7 @@ jobs:
655655
${{ inputs.test-timing-cache-key }}-
656656
go-test-timing-
657657
- if: ${{ ! cancelled() && needs.test-go.result == 'success' && inputs.test-timing-cache-save }}
658-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
658+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
659659
with:
660660
path: ${{ needs.test-matrix.outputs.go-test-dir }}
661661
pattern: ${{ needs.test-go.outputs.go-test-results-download-pattern }}

.github/workflows/test-run-acc-tests-for-path.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
github-token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
2727
- run: go test -v ./${{ inputs.path }}/... 2>&1 | tee ${{ inputs.name }}.txt
28-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
28+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
2929
with:
3030
name: ${{ inputs.name }}-output
3131
path: ${{ inputs.name }}.txt

.github/workflows/test-run-enos-scenario-containers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
github-token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
9393
- name: Download Docker Image
9494
id: download
95-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
95+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
9696
with:
9797
name: ${{ inputs.build-artifact-name }}
9898
path: ./enos/support/downloads

.github/workflows/test-run-enos-scenario-matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ jobs:
233233
du -h "./enos/support/private_key.pem"
234234
echo "debug_data_artifact_name=enos-debug-data_$(echo "${{ matrix.scenario }}" | sed -e 's/ /_/g' | sed -e 's/:/=/g')" >> "$GITHUB_OUTPUT"
235235
- if: contains(inputs.sample-name, 'build')
236-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
236+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
237237
with:
238238
name: ${{ inputs.build-artifact-name }}
239239
path: ./enos/support/downloads
@@ -258,7 +258,7 @@ jobs:
258258
run: enos scenario launch --timeout 45m0s --chdir ./enos ${{ matrix.scenario.id.filter }}
259259
- name: Upload Debug Data
260260
if: failure()
261-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
261+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
262262
with:
263263
# The name of the artifact is the same as the matrix scenario name with the spaces replaced with underscores and colons replaced by equals.
264264
name: ${{ steps.prepare_scenario.outputs.debug_data_artifact_name }}

.github/workflows/test-run-enos-scenario.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Configure Git
6868
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com"
6969
- name: Set up node
70-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
70+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
7171
with:
7272
node-version: 14
7373
cache-dependency-path: ui/yarn.lock
@@ -108,13 +108,13 @@ jobs:
108108
run: |
109109
bash -x ./scripts/gha_enos_logs.sh "${{ steps.scenario-deps.outputs.logsdir }}" "${{ inputs.scenario }}" "${{ inputs.distro }}" "${{ inputs.artifact-type }}" 2>/dev/null
110110
find "${{ steps.scenario-deps.outputs.logsdir }}" -maxdepth 0 -empty -exec rmdir {} \;
111-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
111+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
112112
if: ${{ always() }}
113113
with:
114114
name: enos-scenario-logs
115115
path: ${{ steps.scenario-deps.outputs.logsdir }}
116116
retention-days: 1
117-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
117+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
118118
if: ${{ always() }}
119119
with:
120120
name: enos-debug-data-logs

0 commit comments

Comments
 (0)