diff --git a/lib/linter.sh b/lib/linter.sh index e6a180e4..a4371723 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -823,8 +823,8 @@ CallStatusAPI() { ############################################## # Call the status API to create status check # ############################################## - SEND_STATUS_CMD=$(curl -X -s -f POST \ - --url "https://api.github.com/repos/$GITHUB_REPOSITORY/statuses/$GITHUB_SHA" \ + SEND_STATUS_CMD=$(curl -f -s -X POST \ + --url "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/statuses/$GITHUB_SHA" \ -H 'accept: application/vnd.github.v3+json' \ -H "authorization: Bearer $GITHUB_TOKEN" \ -H 'content-type: application/json' \