From cadec8e34450eace0f384a1a0fbab5c9f97aeeb6 Mon Sep 17 00:00:00 2001 From: Andriy Oblivantsev Date: Sun, 1 Mar 2026 11:47:35 +0000 Subject: [PATCH] Use anonymous HTTPS clone in CI manual checkout. Remove tokenized remote URL and fetch from the public repository endpoint to avoid self-hosted auth URL mismatches in the runner. Made-with: Cursor --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 958450d..d077d11 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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 remote add origin "https://git.produktor.io/${{ github.repository }}.git" git -c http.sslVerify=false fetch --depth=1 origin "${{ github.sha }}" git checkout --detach FETCH_HEAD