Backport #32946 by wxiaoguang Fix #23703 When Gitea starts, it reads GITEA_RUNNER_REGISTRATION_TOKEN or GITEA_RUNNER_REGISTRATION_TOKEN_FILE to add registration token. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
unparam
DEFAULT_MIRROR_REPO_UNITS
DEFAULT_TEMPLATE_REPO_UNITS
fast-forward-only
db.DefaultContext