From 7b9a70f4fe8f9fdf00570396ab5bccecb2d5ad34 Mon Sep 17 00:00:00 2001 From: paste Date: Thu, 25 Jun 2026 22:39:38 -0500 Subject: [PATCH] Pin GITHUB_SERVER_URL to /git subpath so checkout/API resolve 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. --- .gitea/workflows/ci.yml | 6 ++++++ examples/release.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8eddf98..595c860 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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 diff --git a/examples/release.yml b/examples/release.yml index 84210dd..025a75a 100644 --- a/examples/release.yml +++ b/examples/release.yml @@ -4,6 +4,10 @@ # # Requires: Actions enabled on the repo, and a runner advertising `ubuntu-latest` # (or change runs-on to a label your act_runner registers). +# +# NOTE: octowow.st is served under the /git subpath. act_runner reports +# GITHUB_SERVER_URL without it, breaking checkout and the release API calls, so +# we pin GITHUB_SERVER_URL below. Drop this once the server's ROOT_URL is fixed. name: Release MPQ on: @@ -14,6 +18,8 @@ on: jobs: package: runs-on: ubuntu-latest + env: + GITHUB_SERVER_URL: https://octowow.st/git steps: - name: Checkout uses: actions/checkout@v4