From 5378a641debb190fbefc8bf744b0c4589e0fdbe4 Mon Sep 17 00:00:00 2001 From: blam Date: Mon, 6 May 2024 14:26:03 +0200 Subject: [PATCH] chore: support overwriting of action Signed-off-by: blam --- .github/workflows/api-breaking-changes.yml | 2 ++ .github/workflows/pr-review-comment-trigger.yaml | 1 + .github/workflows/scorecard.yml | 1 + .github/workflows/uffizzi-build.yml | 3 +++ 4 files changed, 7 insertions(+) diff --git a/.github/workflows/api-breaking-changes.yml b/.github/workflows/api-breaking-changes.yml index 7834fd195f..6db9720b49 100644 --- a/.github/workflows/api-breaking-changes.yml +++ b/.github/workflows/api-breaking-changes.yml @@ -47,6 +47,7 @@ jobs: name: preview-spec path: comment.md retention-days: 2 + overwrite: true - name: Upload PR Event as Artifact uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 @@ -54,3 +55,4 @@ jobs: name: preview-spec path: ${{ github.event_path }} retention-days: 2 + overwrite: true diff --git a/.github/workflows/pr-review-comment-trigger.yaml b/.github/workflows/pr-review-comment-trigger.yaml index 4d7d511cc8..5e7d71cbf4 100644 --- a/.github/workflows/pr-review-comment-trigger.yaml +++ b/.github/workflows/pr-review-comment-trigger.yaml @@ -34,3 +34,4 @@ jobs: with: name: pr_number-${{ github.event.pull_request.number }} path: pr/ + overwrite: true diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 355ecf6727..bd47f315de 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -63,6 +63,7 @@ jobs: name: SARIF file path: results.sarif retention-days: 5 + overwrite: true # Upload the results to GitHub's code scanning dashboard. - name: 'Upload to code-scanning' diff --git a/.github/workflows/uffizzi-build.yml b/.github/workflows/uffizzi-build.yml index 7ccf39489e..0fb5ea5b8a 100644 --- a/.github/workflows/uffizzi-build.yml +++ b/.github/workflows/uffizzi-build.yml @@ -103,12 +103,14 @@ jobs: name: preview-spec path: ./.github/uffizzi/k8s/manifests/manifests.rendered.yml retention-days: 2 + overwrite: true - name: Upload PR Event as Artifact uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 with: name: preview-spec path: ${{ github.event_path }} retention-days: 2 + overwrite: true delete-preview: name: Call for Preview Deletion @@ -127,3 +129,4 @@ jobs: name: preview-spec path: ${{ github.event_path }} retention-days: 2 + overwrite: true