From dcfdd8dfc9e300581c67c88d8bec5086e247d9d0 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sat, 10 Feb 2024 20:42:06 +0100 Subject: [PATCH] ci: Only try to download loadtest artifact after conclusion of CI workflow Removing the condition when migrating the loadtest workflow was not helpufl, this triggers the report job a few times per pipeline. The goal was to always download the report, even when the overall pipeline fails because of some other jobs. Explicitly checking for both success and failure should be enough. --- .github/workflows/report.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/report.yaml b/.github/workflows/report.yaml index f27adda817..7233b7c637 100644 --- a/.github/workflows/report.yaml +++ b/.github/workflows/report.yaml @@ -12,6 +12,7 @@ jobs: permissions: checks: write runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }} steps: - name: Download from Artifacts uses: dawidd6/action-download-artifact@v3