Pin GITHUB_SERVER_URL to /git subpath so checkout/API resolve
CI / build-and-smoke (push) Failing after 35s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user