diff --git a/.github/workflows/open-gitea-pr.yml b/.github/workflows/open-gitea-pr.yml index e2d579d..78ff0d5 100644 --- a/.github/workflows/open-gitea-pr.yml +++ b/.github/workflows/open-gitea-pr.yml @@ -62,7 +62,8 @@ jobs: git config user.email "github-sync@users.noreply.github.com" git remote remove gitea >/dev/null 2>&1 || true git remote add gitea "https://${GITEA_HOST}/${GITEA_REPO}.git" - git push -f gitea "HEAD:refs/heads/${SYNC_BRANCH}" + git -c credential.helper= -c credential.useHttpPath=true \ + push -f gitea "HEAD:refs/heads/${SYNC_BRANCH}" http_code=$(curl -sS -o "$response_file" -w "%{http_code}" -X POST \ "https://${GITEA_HOST}/api/v1/repos/${GITEA_REPO}/pulls" \