fix: link the run on its public host and web run number #3
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/run-link"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The run link in reports pointed at
http://forgejo:3000/nanoya-biz/rkd/actions/runs/11665: an internal host, and run 11665 is the global API id. The web UI routes on the run number, so the right link washttps://git.rkd.nanoya.biz/nanoya-biz/rkd/actions/runs/11181.FORGEJO_ACTIONS/GITEA_ACTIONS) link byGITHUB_RUN_NUMBER; GitHub keepsGITHUB_RUN_ID.server-urlinput overridesGITHUB_SERVER_URL, which the Forgejo runner sets to its registration address (internal/app/run/runner.go,cli.Address()).v1moves after merge. rkd passesserver-urlindeps-watch.yml.Before:
http://forgejo:3000/nanoya-biz/rkd/actions/runs/11665After (unit test with the same env):
https://git.rkd.nanoya.biz/nanoya-biz/rkd/actions/runs/11181pnpm verify: 12 files, 110 tests passed; dist rebuilt.https://claude.ai/code/session_018rGNvQsaYCAAfTAJLdosQY