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 - <