mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 16:51:05 -05:00
more clean
This commit is contained in:
parent
2b478cc1cd
commit
4b6d5433f1
1 changed files with 2 additions and 2 deletions
|
@ -823,8 +823,8 @@ CallStatusAPI() {
|
||||||
##############################################
|
##############################################
|
||||||
# Call the status API to create status check #
|
# Call the status API to create status check #
|
||||||
##############################################
|
##############################################
|
||||||
SEND_STATUS_CMD=$(curl -X -s -f POST \
|
SEND_STATUS_CMD=$(curl -f -s -X POST \
|
||||||
--url "https://api.github.com/repos/$GITHUB_REPOSITORY/statuses/$GITHUB_SHA" \
|
--url "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/statuses/$GITHUB_SHA" \
|
||||||
-H 'accept: application/vnd.github.v3+json' \
|
-H 'accept: application/vnd.github.v3+json' \
|
||||||
-H "authorization: Bearer $GITHUB_TOKEN" \
|
-H "authorization: Bearer $GITHUB_TOKEN" \
|
||||||
-H 'content-type: application/json' \
|
-H 'content-type: application/json' \
|
||||||
|
|
Loading…
Reference in a new issue