This commit is contained in:
@@ -94,7 +94,7 @@ jobs:
|
|||||||
- name: Check for Changes
|
- name: Check for Changes
|
||||||
id: check-changes
|
id: check-changes
|
||||||
run: |
|
run: |
|
||||||
git restore --staged clusters/**/helm
|
git restore clusters/**/helm
|
||||||
|
|
||||||
if git status --porcelain | grep -q .; then
|
if git status --porcelain | grep -q .; then
|
||||||
echo ">> Changes detected"
|
echo ">> Changes detected"
|
||||||
@@ -153,11 +153,11 @@ jobs:
|
|||||||
|
|
||||||
#HTTP_STATUS=$(
|
#HTTP_STATUS=$(
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
--output /tmp/pr_response
|
--output /tmp/pr_response \
|
||||||
--data "${PAYLOAD}" \
|
--data "$PAYLOAD" \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
"${API_ENDPOINT}"
|
"$API_ENDPOINT"
|
||||||
#)
|
#)
|
||||||
|
|
||||||
echo ">> Gitea API Response Body ..."
|
echo ">> Gitea API Response Body ..."
|
||||||
|
|||||||
Reference in New Issue
Block a user