use hardcoded gitea url and main branch for pr creation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user