From c62cb25d7088a91d17943dafdd328c4455d0d36a Mon Sep 17 00:00:00 2001 From: Andrew Kettel Date: Thu, 26 Mar 2026 16:18:48 -0700 Subject: [PATCH] gitea_cicd (#4) Reviewed-on: https://gitea.letteka.com/letteka/birdcam/pulls/4 Co-authored-by: Andrew Kettel Co-committed-by: Andrew Kettel --- 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 - <