From 68166c8d3a5227c98253b88c5c1fcd6fe22ca6df Mon Sep 17 00:00:00 2001 From: trev Date: Sat, 17 May 2025 04:55:04 -0400 Subject: [PATCH] fix: don't prepend https. I honestly don't know how it was working before --- .gitea/workflows/update.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml index 289c0eb..e2aed07 100644 --- a/.gitea/workflows/update.yaml +++ b/.gitea/workflows/update.yaml @@ -36,14 +36,14 @@ jobs: PR_RESPONSE=$(curl -s -X POST -H "Authorization: token $PAT" \ -H "Content-Type: application/json" \ -d '{"title":"update","body":"automatic update","head":"update","base":"main"}' \ - "https://$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls") + "$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls") PR_NUMBER=$(echo "$PR_RESPONSE" | jq -r '.number') curl -s -X POST -H "Authorization: token $PAT" \ -H "Content-Type: application/json" \ -d '{"Do":"merge","merge_when_checks_succeed":true,"delete_branch_after_merge":true}' \ - "https://$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls/$PR_NUMBER/merge" + "$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls/$PR_NUMBER/merge" else git push origin update --force