Skip to content

Commit

Permalink
ci: Add report workflow ahead of PostgREST#1812
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed Nov 24, 2021
1 parent 7db6ec9 commit 70d6f56
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Upload PR reports to GitHub Checks

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

0 comments on commit 70d6f56

Please sign in to comment.