From 4687c49191d2d8b9682819610167b87200ee8ae4 Mon Sep 17 00:00:00 2001 From: David Jumani Date: Thu, 19 Dec 2024 17:58:26 +0530 Subject: [PATCH 1/2] Add run attempt to artefact name --- .github/workflows/check-extensions-build-config.yaml | 2 +- .github/workflows/static-analysis.yaml | 2 +- changelog/v1.31.2-patch4/run-attempt.yaml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 changelog/v1.31.2-patch4/run-attempt.yaml diff --git a/.github/workflows/check-extensions-build-config.yaml b/.github/workflows/check-extensions-build-config.yaml index 4f102c9a..420a377b 100644 --- a/.github/workflows/check-extensions-build-config.yaml +++ b/.github/workflows/check-extensions-build-config.yaml @@ -20,5 +20,5 @@ jobs: # if: ${{ !cancelled() }} # uses: actions/upload-artifact@v4 # with: - # name: static-analysis-report + # name: static-analysis-report-attempt-${{ github.run_attempt }} # path: linux/amd64/analysis/scan-build-*/ diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index 19b9650d..a41b04c4 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -21,5 +21,5 @@ jobs: if: ${{ !cancelled() }} uses: actions/upload-artifact@v4 with: - name: static-analysis-report + name: static-analysis-report-attempt-${{ github.run_attempt }} path: linux/amd64/analysis/scan-build-*/ diff --git a/changelog/v1.31.2-patch4/run-attempt.yaml b/changelog/v1.31.2-patch4/run-attempt.yaml new file mode 100644 index 00000000..f7560ec9 --- /dev/null +++ b/changelog/v1.31.2-patch4/run-attempt.yaml @@ -0,0 +1,4 @@ +changelog: +- type: NON_USER_FACING + description: >- + Add run attempt to test result upload to ensure a unique name per artefact From 8c6cc3f25dfec9241a022af4b1c63fbbd779a91f Mon Sep 17 00:00:00 2001 From: David Jumani Date: Tue, 24 Dec 2024 19:50:15 +0530 Subject: [PATCH 2/2] update changelog --- changelog/{v1.31.2-patch4 => v1.31.5-patch2}/run-attempt.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename changelog/{v1.31.2-patch4 => v1.31.5-patch2}/run-attempt.yaml (100%) diff --git a/changelog/v1.31.2-patch4/run-attempt.yaml b/changelog/v1.31.5-patch2/run-attempt.yaml similarity index 100% rename from changelog/v1.31.2-patch4/run-attempt.yaml rename to changelog/v1.31.5-patch2/run-attempt.yaml