This commit is contained in:
@@ -144,23 +144,22 @@ jobs:
|
||||
--arg head "${HEAD_BRANCH}" \
|
||||
--arg base "${BASE_BRANCH}" \
|
||||
--arg title "Automated Manifest Update: $(date +%F)" \
|
||||
--arg body "This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow" \
|
||||
--arg body "This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow." \
|
||||
'{head: $head, base: $base, title: $title, body: $body'} )
|
||||
|
||||
echo ">> Creating PR from branch: ${HEAD_BRANCH} into ${BASE_BRANCH}"
|
||||
echo ">> Creating PR from branch ${HEAD_BRANCH} into ${BASE_BRANCH}"
|
||||
echo ">> With Payload of:"
|
||||
echo "$PAYLOAD"
|
||||
|
||||
HTTP_STATUS=$(
|
||||
#HTTP_STATUS=$(
|
||||
curl -X POST \
|
||||
--silent \
|
||||
--write-out '%{http_code}' \
|
||||
--output /tmp/pr_response \
|
||||
|
||||
--data "${PAYLOAD}" \
|
||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
"${API_ENDPOINT}"
|
||||
)
|
||||
#)
|
||||
|
||||
echo ">> Gitea API Response Body ..."
|
||||
echo "----"
|
||||
|
||||
Reference in New Issue
Block a user