kzccm1d4if10m2xaz1wqy3xar821pp1r-my-site-anaphoric-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 98143e12a87246223f2268408ae60f2aa1153722
parent 1a4079f394266d4741a40eccad55a16e6c9b452b
Author: Suzanne Soy <jsmaniac.github@suzanne.soy>
Date:   Wed, 28 Jul 2021 15:35:34 +0100

Try to get the Github Actions to register as a Status check

Diffstat:
M.github/workflows/ci.yml | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -92,3 +92,14 @@ jobs: # TODO: add an option to cover to run the "outer" module too, not just the submodules. # TODO: deploy the coverage info. + - name: Create status check + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + BUILD_COMMIT=$(git rev-parse HEAD) + curl \ + -X POST \ + -H "Authorization: Bearer $GITHUB_TOKEN" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/{org}/{repo}/check-runs \ + -d '{"name":"build", "head_sha": "'"$BUILD_COMMIT"'", "status": "completed", "conclusion": "success" }'