From 5bdc2fc84918506e6fbd255f1e12220e0686938c Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Thu, 3 Dec 2026 10:35:28 +0100 Subject: [PATCH] ci: clone private at-mintel with a read token mmintel/at-mintel is now private (its committed .env was publicly readable), so anonymous ls-remote/clone/raw access fails. Use the read-only MINTEL_PRIVATE_TOKEN secret for every access. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index c0d05ec..aeda171 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -135,7 +135,8 @@ jobs: uses: actions/checkout@v4 - name: Provide sibling monorepo (context) run: | - git clone https://git.infra.mintel.me/mmintel/at-mintel.git _at-mintel + # mmintel/at-mintel is private: clone with the read token + git clone "https://ci:${{ secrets.MINTEL_PRIVATE_TOKEN }}@git.infra.mintel.me/mmintel/at-mintel.git" _at-mintel # Force ALL @mintel packages to use the local clone instead of the registry perl -pi -e 's/"\@mintel\/([^"]+)"\s*:\s*"[^"]+"/"\@mintel\/$1": "link:.\/_at-mintel\/packages\/$1"/g' package.json perl -pi -e 's/link:\.\/_at-mintel\/packages\/pdf"/link:.\/_at-mintel\/packages\/pdf-library"/g' package.json