use hardcoded gitea url and main branch for pr creation

This commit is contained in:
2026-03-09 17:12:00 +00:00
parent cf5a3a7725
commit 76584c4983
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -95,7 +95,7 @@ jobs:
run: |
set -euo pipefail
api="${GITHUB_SERVER_URL}/api/v1/repos/${GITHUB_REPOSITORY}"
api="https://gitea.unrail.xyz/api/v1/repos/thomas/nixos-config"
branch="bot/handy-${{ steps.update.outputs.version }}"
existing=$(curl -fsS \
@@ -116,7 +116,7 @@ jobs:
{
\"title\": \"update handy to ${{ steps.update.outputs.version }}\",
\"head\": \"${branch}\",
\"base\": \"${GITHUB_REF_NAME}\",
\"base\": \"main\",
\"body\": \"automated update of handy appimage version and hash\"
}
JSON