mirror of
https://github.com/complexcaresolutions/frontend.porwoll.de.git
synced 2026-03-17 16:23:41 +00:00
fix(ci): use --add for multiple git insteadOf patterns
git config overwrites previous insteadOf value without --add flag. Need both git@github.com: (SCP) and ssh://git@github.com/ patterns. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
47657ae8c2
commit
68145ceb7e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -20,8 +20,8 @@ jobs:
|
|||
GH_PAT: ${{ secrets.GH_PAT }}
|
||||
run: |
|
||||
git config --global url."https://x-access-token:${GH_PAT}@github.com/".insteadOf "git@github.com:"
|
||||
git config --global url."https://x-access-token:${GH_PAT}@github.com/".insteadOf "ssh://git@github.com/"
|
||||
git config --global --get-regexp 'url\..*\.insteadof' || true
|
||||
git config --global --add url."https://x-access-token:${GH_PAT}@github.com/".insteadOf "ssh://git@github.com/"
|
||||
git config --global --get-regexp 'url\..*\.insteadof'
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue