fatal: unable to access 'https:///admin/brencher.git/': URL rejected: No host part in the URL
The PUSH_TOKEN secret is now wired up correctly, but ${GITEA_SERVER_URL} is empty in this Gitea Actions runtime (the variable the env-prefixed runner is supposed to set), so the substituted URL drops the host.
Fix
Hardcode gitea.rudolf.keenetic.link in both merge_main.yaml and merge_main_and_squash.yaml. When the runner exposes GITEA_SERVER_URL in a future version, this can be replaced back with ${GITEA_SERVER_URL#https://}.
Supersedes
This is a follow-up to admin/brencher#46 which already wired secrets.PUSH_TOKEN but still had the empty env var.
## Problem
Run #67 of `merge_main.yaml` failed with:
```
fatal: unable to access 'https:///admin/brencher.git/': URL rejected: No host part in the URL
```
The `PUSH_TOKEN` secret is now wired up correctly, but `${GITEA_SERVER_URL}` is empty in this Gitea Actions runtime (the variable the env-prefixed runner is supposed to set), so the substituted URL drops the host.
## Fix
Hardcode `gitea.rudolf.keenetic.link` in both `merge_main.yaml` and `merge_main_and_squash.yaml`. When the runner exposes `GITEA_SERVER_URL` in a future version, this can be replaced back with `${GITEA_SERVER_URL#https://}`.
## Supersedes
This is a follow-up to admin/brencher#46 which already wired `secrets.PUSH_TOKEN` but still had the empty env var.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
Run #67 of
merge_main.yamlfailed with:The
PUSH_TOKENsecret is now wired up correctly, but${GITEA_SERVER_URL}is empty in this Gitea Actions runtime (the variable the env-prefixed runner is supposed to set), so the substituted URL drops the host.Fix
Hardcode
gitea.rudolf.keenetic.linkin bothmerge_main.yamlandmerge_main_and_squash.yaml. When the runner exposesGITEA_SERVER_URLin a future version, this can be replaced back with${GITEA_SERVER_URL#https://}.Supersedes
This is a follow-up to admin/brencher#46 which already wired
secrets.PUSH_TOKENbut still had the empty env var.4748f70738to5db540588a