From a778aaa57c1db754ebc69dbf0980697839cb6d79 Mon Sep 17 00:00:00 2001 From: Andrew Kettel Date: Thu, 26 Mar 2026 16:07:44 -0700 Subject: [PATCH] modifying create pr to make the payload in python --- scripts/create_pr_gitea.sh | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/scripts/create_pr_gitea.sh b/scripts/create_pr_gitea.sh index 70d8502..937fceb 100755 --- a/scripts/create_pr_gitea.sh +++ b/scripts/create_pr_gitea.sh @@ -12,20 +12,31 @@ git add pyproject.toml poetry.lock git commit -m "chore: update dependencies $(date +%Y-%m-%d)" git push "https://oauth2:${CI_TOKEN}@${CI_SERVER_URL#https://}/${REPO}.git" "$BRANCH" -DESCRIPTION=$(cat "$SUMMARY_FILE") +# build the entire JSON payload in Python to avoid shell escaping issues +PAYLOAD=$(python3 - <