Skip to content

Commit

Permalink
Add check status.
Browse files Browse the repository at this point in the history
  • Loading branch information
marrobi committed Feb 23, 2024
1 parent b40e4e7 commit b216c6b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,18 @@ jobs:
Check the artifacts for details."
exit 1
fi
# For PR builds triggered from comment builds, the GITHUB_REF is set to main
# so the checks aren't automatically associated with the PR
# If prHeadSha is specified then explicity mark the checks for that SHA
- name: Report check status
if: github.event.workflow_run.head_sha != ''
uses: LouisBrunner/checks-action@v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
# the name must be identical to the one received by the real job
sha: ${{ github.event.workflow_run.head_sha }}
name: "Test Results"
status: "completed"
conclusion: ${{ github.event.workflow_run.conclusion }}
details_url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 comments on commit b216c6b

Please sign in to comment.