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
+2 -2
View File
@@ -96,7 +96,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/helium-${{ steps.update.outputs.version }}"
# Skip if PR for this branch already exists
@@ -118,7 +118,7 @@ jobs:
{
\"title\": \"update helium to ${{ steps.update.outputs.version }}\",
\"head\": \"${branch}\",
\"base\": \"${GITHUB_REF_NAME}\",
\"base\": \"main\",
\"body\": \"automated update of helium appimage version and hash\"
}
JSON
+2 -2
View File
@@ -94,7 +94,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/zen-browser-${{ steps.update.outputs.version }}"
existing=$(curl -fsS \
@@ -115,7 +115,7 @@ jobs:
{
\"title\": \"update zen browser to ${{ steps.update.outputs.version }}\",
\"head\": \"${branch}\",
\"base\": \"${GITHUB_REF_NAME}\",
\"base\": \"main\",
\"body\": \"automated update of zen browser appimage version and hash\"
}
JSON