From 73cf70f0f333c187b28821fb76a44c779bdfbbdb Mon Sep 17 00:00:00 2001 From: Jarvis Jr Hermes Date: Mon, 31 Aug 2026 10:26:02 +0000 Subject: [PATCH] fix: authenticate exact revision checkout --- .gitea/workflows/pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pages.yml b/.gitea/workflows/pages.yml index 91828b5..67467ff 100644 --- a/.gitea/workflows/pages.yml +++ b/.gitea/workflows/pages.yml @@ -22,7 +22,7 @@ jobs: test -n "$REVISION" git init . git remote add origin '${{ gitea.server_url }}/${{ gitea.repository }}.git' - git -c http.extraheader="Authorization: token ***" fetch --depth=1 origin "$REVISION" + git -c http.extraheader="Authorization: token $GIT_AUTH_TOKEN" fetch --depth=1 origin "$REVISION" git checkout --detach FETCH_HEAD test "$(git rev-parse HEAD)" = "$REVISION" - name: Install pnpm