ci: clone private at-mintel with a read token
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🏗️ Build (push) Successful in 7m16s
Build & Deploy / 🚀 Deploy (push) Successful in 19s
Build & Deploy / 🩺 Smoke Test (push) Successful in 7s
Build & Deploy / 🔔 Notify (push) Successful in 2s

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 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 10:35:28 +01:00
co-authored by Claude Opus 5.5
parent 76873808ce
commit 5bdc2fc849
+2 -1
View File
@@ -135,7 +135,8 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Provide sibling monorepo (context) - name: Provide sibling monorepo (context)
run: | 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 # 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/"\@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 perl -pi -e 's/link:\.\/_at-mintel\/packages\/pdf"/link:.\/_at-mintel\/packages\/pdf-library"/g' package.json