#!/bin/bash set -e BRANCH="dependency-updates-$(date +%Y%m%d)" SUMMARY_FILE="/tmp/update_summary.md" git config user.email "ci@gitea.com" git config user.name "Gitea CI" git checkout -b "$BRANCH" 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" # build the entire JSON payload in Python to avoid shell escaping issues PAYLOAD=$(python3 - <