fix: use PAT for private submodule access (abc, verific)

Deploy keys are repo-scoped and can't access multiple private repos.
Use a PAT (SUBMODULE_PAT) that has access to all required repos.

Made-with: Cursor
This commit is contained in:
Akash Levy 2026-02-28 12:07:03 -08:00
parent 44beeb5213
commit 708637f65a
1 changed files with 3 additions and 2 deletions

View File

@ -19,11 +19,12 @@ jobs:
with:
fetch-depth: 0
submodules: false
ssh-key: ${{ secrets.VERIFIC_DEPLOY_KEY }}
token: ${{ secrets.SUBMODULE_PAT }}
- name: Initialize submodules
run: |
git submodule update --init --recursive
git -c url."https://x-access-token:${{ secrets.SUBMODULE_PAT }}@github.com/".insteadOf="git@github.com:" \
submodule update --init --recursive
- name: Build wheel in Alpine container
run: |