fix(ci): rewrite git SSH to HTTPS for private dependency access

pnpm resolves github: deps via git@github.com: (SSH), which fails
without SSH keys. Rewrite to HTTPS with GH_PAT token instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
CCS Admin 2026-02-15 18:17:22 +00:00
parent 0046dbcf65
commit 1ad83efbc3

View file

@ -13,7 +13,9 @@ jobs:
- uses: actions/checkout@v4
- name: Configure git for private dependencies
run: git config --global url."https://x-access-token:${{ secrets.GH_PAT }}@github.com/".insteadOf "github:"
run: |
git config --global url."https://x-access-token:${{ secrets.GH_PAT }}@github.com/".insteadOf "git@github.com:"
git config --global url."https://x-access-token:${{ secrets.GH_PAT }}@github.com/".insteadOf "github:"
- uses: pnpm/action-setup@v4