From 1642cdc088aef9fd9acb1e523f224835590c0710 Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Wed, 28 Jul 2021 16:10:17 +0100 Subject: [PATCH] Revert the status check stuff, it is not needed, one just needs to search the name of the workflow job (build in this case) to add it as a branch check, it isn't listed but can be found by searching --- .github/workflows/ci.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c70a8c..b2f8c88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,20 +92,3 @@ jobs: run: if $COV; then raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true; fi # TODO: add an option to cover to run the "outer" module too, not just the submodules. # TODO: deploy the coverage info. - status-check: - runs-on: ubuntu-latest - needs: build - steps: - - uses: actions/checkout@v2 - - name: Create status check - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - set -x - 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/${{ github.repository }}/check-runs \ - -d '{"name":"build", "head_sha": "'"$BUILD_COMMIT"'", "status": "completed", "conclusion": "success" }'