Compare commits
2 Commits
5c3447e606
...
2d2df88bdf
| Author | SHA1 | Date | |
|---|---|---|---|
|
2d2df88bdf
|
|||
| 68a25dc9fd |
@@ -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