Fix CI repository URL format for manual checkout.
CI / test (push) Failing after 4s

Use the self-hosted repository URL without the .git suffix so authenticated fetch resolves correctly in the Gitea runner.

Made-with: Cursor
This commit is contained in:
2026-03-01 11:46:41 +00:00
parent 08d47eb6dc
commit ea59a92b02
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
run: |
rm -rf .git
git init .
git remote add origin "https://oauth2:${{ github.token }}@git.produktor.io/${{ github.repository }}.git"
git remote add origin "https://oauth2:${{ github.token }}@git.produktor.io/${{ github.repository }}"
git -c http.sslVerify=false fetch --depth=1 origin "${{ github.sha }}"
git checkout --detach FETCH_HEAD