From a33f097b91f947df6e0f5872ebc6b0b195c804eb Mon Sep 17 00:00:00 2001 From: Andrew Emelyaneko Date: Mon, 2 Nov 2026 15:07:25 +0300 Subject: [PATCH] fix(ci): authenticate checkout via .netrc --- .gitea/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 08024e1..0182c89 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,9 +15,13 @@ jobs: env: CI_TOKEN: ${{ secrets.CI_TOKEN }} run: | - echo "token_len=${#CI_TOKEN}" - echo "token_sha=$(printf %s "${CI_TOKEN}" | sha256sum | cut -d' ' -f1)" - git clone --depth 1 "http://${CI_TOKEN}@10.8.0.52:8080/andrew/plagin_tokens.git" src + cat > "$HOME/.netrc" <