debug
All checks were successful
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 20s

This commit is contained in:
Peter 2026-02-18 21:51:19 +01:00
parent 7af1430289
commit 5ca4ca9243
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg

View file

@ -89,12 +89,14 @@ jobs:
if [ -n "${comment_id}" ] && [ "${comment_id}" != "null" ]; then if [ -n "${comment_id}" ] && [ "${comment_id}" != "null" ]; then
echo "Found comment, updating..." && \
curl -s -X PATCH \ curl -s -X PATCH \
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \ -H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
"${{ forge.api_url }}/repos/${{ forge.repository }}/issues/comments/${{ steps.fetch.outputs.comment_id }}" \ "${{ forge.api_url }}/repos/${{ forge.repository }}/issues/comments/${{ steps.fetch.outputs.comment_id }}" \
-d "$payload" -d "$payload"
else else
echo "Creating new comment..." && \
curl -s -X POST \ curl -s -X POST \
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \ -H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \