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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user