From a0ad568ba06794303b0af546d2b371929e879281 Mon Sep 17 00:00:00 2001 From: Djeex Date: Sat, 22 Aug 2026 15:20:07 +0200 Subject: [PATCH] Fix bot push auth: use URL-embedded credentials instead of a hand-built header --- .gitea/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c08db43..15eadbe 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -95,8 +95,7 @@ jobs: git add VERSION git commit -m "Bump build version to $NEW_VERSION [skip ci]" - AUTH=$(printf 'Djeex:%s' "${{ secrets.CI_PUSH_TOKEN }}" | base64) - git -c http.extraHeader="Authorization: Basic $AUTH" push origin HEAD:main + git push "https://Djeex:${{ secrets.CI_PUSH_TOKEN }}@git.djeex.fr/Djeex/adguard-cidre.git" HEAD:main fi VERSION=$(tr -d '[:space:]' < VERSION)