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

This commit is contained in:
Peter 2026-02-18 21:19:43 +01:00
parent 23f7449205
commit a27e9e7aab
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg

View file

@ -63,7 +63,7 @@ jobs:
comment_id=$(echo "$response" | jq -r \ comment_id=$(echo "$response" | jq -r \
'.[] | select(.body | test("${{ forge.workflow }}")) | .id' | head -n 1) '.[] | select(.body | test("${{ forge.workflow }}")) | .id' | head -n 1)
echo "comment_id=$comment_id" echo "$comment_id"
- name: Add comment - name: Add comment
id: comment id: comment
@ -93,7 +93,7 @@ jobs:
run: | run: |
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY") payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
if [ -n "${{ steps.fetch.outputs.comment_id }}" ] && [ "${{ steps.fetch.outputs.comment_id }}" != "null" ]; then if [ -n "${{ steps.fetch.outputs.stdout }}" ] && [ "${{ steps.fetch.outputs.stdout }}" != "null" ]; then
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" \