Skip to content

Commit b3cd037

Browse files
committed
maybe bug fix?
1 parent 4058dff commit b3cd037

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/monorepo-split-plan.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ jobs:
9292
env:
9393
MONOREPO_SPLIT_TOKEN: ${{ steps.app-token.outputs.token }}
9494
run: |
95-
git config --global url."https://x-access-token:${MONOREPO_SPLIT_TOKEN}@github.com/".insteadOf "git@github.com:"
96-
git config --global url."https://x-access-token:${MONOREPO_SPLIT_TOKEN}@github.com/".insteadOf "ssh://git@github.com/"
95+
authenticated_url="https://x-access-token:${MONOREPO_SPLIT_TOKEN}@github.com/"
96+
git config --global "url.${authenticated_url}.insteadOf" "git@github.com:"
97+
git config --global "url.${authenticated_url}.insteadOf" "ssh://git@github.com/"
9798
- name: Validate split config
9899
run: php .github/scripts/monorepo-split-plan.php
99100
- name: Plan pull request package splits

0 commit comments

Comments
 (0)