From 84585ae2182e60bd7c2b916b33cdd915b39ba53f Mon Sep 17 00:00:00 2001 From: "thomas g. lopes" Date: Mon, 9 Mar 2026 17:37:04 +0000 Subject: [PATCH] fix pr payload quoting in workflows --- .gitea/workflows/handy-update.yml | 12 +++--------- .gitea/workflows/helium-update.yml | 12 +++--------- .gitea/workflows/zen-browser-update.yml | 12 +++--------- 3 files changed, 9 insertions(+), 27 deletions(-) diff --git a/.gitea/workflows/handy-update.yml b/.gitea/workflows/handy-update.yml index e2c1b68..f28377a 100644 --- a/.gitea/workflows/handy-update.yml +++ b/.gitea/workflows/handy-update.yml @@ -113,19 +113,13 @@ jobs: created="false" for head in "${branch}" "thomas:${branch}"; do echo "Trying head=${head}" + payload=$(printf '{"title":"update handy to %s","head":"%s","base":"main","body":"automated update of handy appimage version and hash"}' \ + "${{ steps.update.outputs.version }}" "$head") response=$(curl -sS -w '\n%{http_code}' -X POST \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ "${api}/pulls" \ - -d "$(cat <