brainy-airline-59624
10/21/2025, 8:47 AMtderr:
There was 1 error downloading required artifacts:
1. zero-api-python 1 from git+<https://github.com/zeals-co-ltd/zero-api.git@v0.1.631>
pid 1487 -> /home/runner/.cache/pants/named_caches/pex_root/venvs/1/d881a8f5dff01abf8f60d8ca212d5cf43381f85e/302b21f4c5ac9f243cbb9cb5d57e98957a60ea02/bin/python
I cut out a bunch of code, but the basic problem is we have a repo, that is installing from a private github repo. We want to pass the credentials in. Every other repo in our codebase has a standardized way of doing it that basically looks like:
- name: Configure git for private modules
run: |
git config --global url."https://${{ secrets.ORG_PROJECTS_TOKEN }}@github.com/".insteadOf "<https://github.com/>"
Fairly standard.
I think I'm failing to pass this into PantsBuild. Any ideas on what I'm missing? No other repos use PantsBuild and so no one else at the company knows anything about this.brainy-airline-59624
10/21/2025, 10:33 AMbrainy-airline-59624
10/21/2025, 11:33 AM[subprocess-environment]
env_vars.add = [
"HOME",
]
So the git values can be passed in. If this is the expected way to do it, great, if not I'd like to do this as by-the-book as possible.
Sorry for asking questions really rapidly like this. Because I'm in Japan time, the hours are super bad for American questions, so I just sort of post because I know they'll get answered once I've gone to bed.happy-kitchen-89482
10/21/2025, 7:17 PMhappy-kitchen-89482
10/21/2025, 7:17 PMhappy-kitchen-89482
10/21/2025, 7:18 PM$HOME allows the subprocess to find the git config there?brainy-airline-59624
10/22/2025, 6:02 AMbrainy-airline-59624
10/22/2025, 6:02 AM