The workflow previously used actions/checkout@v4 which fetches from GitHub.
Gitea runner cannot access GitHub due to timeout. Replace with inline
git init + fetch using GITHUB_SERVER_URL / GITHUB_REPOSITORY env vars
provided by Gitea Actions runtime.