diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8daf82..dc6ed1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,10 +96,11 @@ jobs: 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/{org}/{repo}/check-runs \ + https://api.github.com/repos/${github.repository}/check-runs \ -d '{"name":"build", "head_sha": "'"$BUILD_COMMIT"'", "status": "completed", "conclusion": "success" }'