From dbef11869c92c83fcf68eb7833648128c5a4678e Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 24 Nov 2021 21:01:19 +0100 Subject: [PATCH] ci: Add report workflow ahead of #1812 --- .github/workflows/report.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/report.yaml diff --git a/.github/workflows/report.yaml b/.github/workflows/report.yaml new file mode 100644 index 000000000..b2d371098 --- /dev/null +++ b/.github/workflows/report.yaml @@ -0,0 +1,29 @@ +name: Upload Reports + +on: + workflow_run: + workflows: ["Loadtest"] + types: + - completed + +jobs: + upload: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - name: Download from Artifacts + uses: dawidd6/action-download-artifact@v2 + with: + workflow: ${{ github.event.workflow.name }} + run_id: ${{github.event.workflow_run.id }} + name: loadtest.md + path: artifacts + - name: Upload to GitHub Checks + uses: LouisBrunner/checks-action@v1.2.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + name: Loadtest Results + conclusion: neutral + output: | + {"summary":""} + output_text_description_file: artifacts/loadtest.md