Pin GITHUB_SERVER_URL to /git subpath so checkout/API resolve
CI / build-and-smoke (push) Failing after 35s

act_runner reports GITHUB_SERVER_URL without the instance's /git subpath,
so actions/checkout cloned https://octowow.st/paste/... (404). Pin the
correct base at job level until the server ROOT_URL is fixed.
This commit is contained in:
2026-06-25 22:39:38 -05:00
parent c414984ba3
commit 7b9a70f4fe
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -10,6 +10,12 @@ on:
jobs:
build-and-smoke:
runs-on: ubuntu-latest
# This Gitea instance is served under the /git subpath, but act_runner
# reports GITHUB_SERVER_URL as https://octowow.st (subpath dropped), which
# makes actions/checkout (and API calls) build the wrong URL. Pin it.
# The real fix is the server's ROOT_URL = https://octowow.st/git/ (admin).
env:
GITHUB_SERVER_URL: https://octowow.st/git
steps:
- name: Checkout
uses: actions/checkout@v4