This commit is contained in:
@@ -157,14 +157,14 @@ jobs:
|
||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
--data "${PAYLOAD}" \
|
||||
"${API_ENDPOINT}" | tee /tmp/pr_response.json \
|
||||
"${API_ENDPOINT}" | tee /tmp/pr_response \
|
||||
| head -n 1
|
||||
)
|
||||
|
||||
echo ">> Gitea API Response Body ...
|
||||
echo "----
|
||||
echo "$(cat /tmp/pr_response.json)"
|
||||
echo "----
|
||||
echo ">> Gitea API Response Body ..."
|
||||
echo "----"
|
||||
echo "$(cat /tmp/pr_response)"
|
||||
echo "----"
|
||||
|
||||
if [ "$HTTP_STATUS" == "201" ]; then
|
||||
echo ">> Pull Request created successfully!"
|
||||
|
||||
Reference in New Issue
Block a user