1
[TA/dev]Why are we using `gitea.com/BoYanZh/checkout`? [DEPRECATED]
张泊明518370910136 edited this page 2025-05-14 05:36:56 +08:00
act_runner
only supports URL with format${host}/${owner}/${name}
,${host}/git/${owner}/${name}
does not work. So we can not use self-hosted checkout. Check here.- By default,
actions/checkout
also only supports URL with format${host}/${owner}/${name}
. Check here. gitea.com/BoYanZh/checkout
is modified, which hardcodes ssh port and our URL format to clone the repo inact_runner
. Check here.
On joj-dev server, we use 0.2.11-focs act_runner, which comes from https://github.com/focs-gitea/act_runner/tree/v0.2.11-focs. It supports ${host}/git/${owner}/${name}
, so we can just use actions/checkout@focs
now and it will use https://focs.ji.sjtu.edu.cn/git/actions/checkout/src/branch/focs.