This commit is contained in:
@@ -154,11 +154,13 @@ jobs:
|
||||
|
||||
HTTP_STATUS=$(
|
||||
curl -X POST \
|
||||
--write-out '%{http_code}' \
|
||||
--silent \
|
||||
--output /tmp/pr_response \
|
||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
--data "${PAYLOAD}" \
|
||||
"${API_ENDPOINT}" | tee /tmp/pr_response \
|
||||
| head -n 1
|
||||
"${API_ENDPOINT}"
|
||||
)
|
||||
|
||||
echo ">> Gitea API Response Body ..."
|
||||
|
||||
Reference in New Issue
Block a user