Skip to content

Commit bc1e811

Browse files
committed
fix: configure git to use HTTPS instead of SSH for GitHub URLs
Adds a step in the webpack workflow to rewrite SSH git URLs to HTTPS globally, ensuring consistent and secure access to GitHub repositories during CI/CD processes.
1 parent 44c26a8 commit bc1e811

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/webpack.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
node-version: ${{ matrix.node-version }}
2828
cache: "npm"
2929

30+
- name: Rewrite SSH git URLs to HTTPS
31+
run: git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
32+
3033
- name: Install dependencies
3134
run: npm ci
3235
env:

0 commit comments

Comments
 (0)