From 5db540588a90df97eb8aa8dd078a8a65c0016ab3 Mon Sep 17 00:00:00 2001 From: hermes Date: Fri, 4 Sep 2026 11:16:23 +0000 Subject: [PATCH] ci(merge_main): hardcode gitea.rudolf.keenetic.link (GITEA_SERVER_URL empty) The PUSH_TOKEN secret works, but the GITEA_SERVER_URL environment variable is empty in this Gitea Actions runtime, producing URLs like https:///admin/brencher.git. Hardcode the host until the runner exposes it. --- .github/workflows/merge_main.yaml | 2 +- .github/workflows/merge_main_and_squash.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge_main.yaml b/.github/workflows/merge_main.yaml index b4fab28..770e8d3 100644 --- a/.github/workflows/merge_main.yaml +++ b/.github/workflows/merge_main.yaml @@ -29,7 +29,7 @@ jobs: - name: Fetch all branches run: | - git remote set-url origin "https://x-access-token:${PUSH_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" + git remote set-url origin "https://x-access-token:${PUSH_TOKEN}@gitea.rudolf.keenetic.link/${GITHUB_REPOSITORY}.git" git fetch --all --prune - name: Merge every branch onto main diff --git a/.github/workflows/merge_main_and_squash.yaml b/.github/workflows/merge_main_and_squash.yaml index 53c2312..2034229 100644 --- a/.github/workflows/merge_main_and_squash.yaml +++ b/.github/workflows/merge_main_and_squash.yaml @@ -27,7 +27,7 @@ jobs: - name: Fetch all branches run: | - git remote set-url origin "https://x-access-token:${PUSH_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" + git remote set-url origin "https://x-access-token:${PUSH_TOKEN}@gitea.rudolf.keenetic.link/${GITHUB_REPOSITORY}.git" git fetch --all --prune - name: Merge every branch onto main -- 2.54.0