Skip to content

Commit 1d40fa2

Browse files
Update GitHub Artifact Actions
1 parent ff356d7 commit 1d40fa2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
5555
# format to the repository Actions tab.
5656
- name: "Upload artifact"
57-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
57+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
5858
with:
5959
name: SARIF file
6060
path: results.sarif

.github/workflows/tf-plan-apply.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
id: plan
3535
run: "cd tf\nset +e\nnix shell --inputs-from . nixpkgs#opentofu --command tofu plan -var \"repo=$GITHUB_REPOSITORY\" -detailed-exitcode -out tfplan\nexport exitcode=$?\nset -e\necho \"exitcode=$exitcode\" >> \"$GITHUB_OUTPUT\"\nif [ $exitcode -eq 1 ]; then\n exit 1\nelse \n exit 0\nfi\n"
3636
- name: Publish plan
37-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
37+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3838
with:
3939
name: tfplan
4040
path: tf/tfplan
@@ -52,7 +52,7 @@ jobs:
5252
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT_ID }}:role/apply
5353
aws-region: ${{ vars.AWS_REGION }}
5454
- name: Download plan
55-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
55+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
5656
with:
5757
name: tfplan
5858
path: tf

0 commit comments

Comments
 (0)