Fix bot push auth: use URL-embedded credentials instead of a hand-built header
CI / build-and-scan (push) Successful in 1m11s

This commit is contained in:
Djeex
2026-08-22 15:20:07 +02:00
parent 59d73c88f6
commit a0ad568ba0
+1 -2
View File
@@ -95,8 +95,7 @@ jobs:
git add VERSION git add VERSION
git commit -m "Bump build version to $NEW_VERSION [skip ci]" git commit -m "Bump build version to $NEW_VERSION [skip ci]"
AUTH=$(printf 'Djeex:%s' "${{ secrets.CI_PUSH_TOKEN }}" | base64) git push "https://Djeex:${{ secrets.CI_PUSH_TOKEN }}@git.djeex.fr/Djeex/adguard-cidre.git" HEAD:main
git -c http.extraHeader="Authorization: Basic $AUTH" push origin HEAD:main
fi fi
VERSION=$(tr -d '[:space:]' < VERSION) VERSION=$(tr -d '[:space:]' < VERSION)