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 ${{ gitea.workspace }}/clusters/**/helm
|
git restore --staged clusters/**/helm
|
||||||
|
|
||||||
if git status --porcelain | grep -q .; then
|
if git status --porcelain | grep -q .; then
|
||||||
echo ">> Changes detected"
|
echo ">> Changes detected"
|
||||||
@@ -154,7 +154,6 @@ jobs:
|
|||||||
#HTTP_STATUS=$(
|
#HTTP_STATUS=$(
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
--silent \
|
--silent \
|
||||||
|
|
||||||
--data "${PAYLOAD}" \
|
--data "${PAYLOAD}" \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
|
|||||||
Reference in New Issue
Block a user