File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,14 @@ jobs:
196196 node-version : ${{ matrix.NODE_VERSION }}
197197 timeout-minutes : 5
198198
199+ # Configure Git:
200+ - name : ' Configure Git'
201+
202+ # Force Git to use HTTPS rather than SSH:
203+ run : |
204+ git config --global url."https://github.com/".insteadOf git@github.com:
205+ git config --global url."https://".insteadOf git://
206+
199207 # Print debug info:
200208 - name : ' Print debug info'
201209 run : |
Original file line number Diff line number Diff line change @@ -157,6 +157,14 @@ jobs:
157157 node-version : ${{ matrix.NODE_VERSION }}
158158 timeout-minutes : 5
159159
160+ # Configure Git:
161+ - name : ' Configure Git'
162+
163+ # Force Git to use HTTPS rather than SSH:
164+ run : |
165+ git config --global url."https://github.com/".insteadOf git@github.com:
166+ git config --global url."https://".insteadOf git://
167+
160168 # Print debug info:
161169 - name : ' Print debug info'
162170 run : |
Original file line number Diff line number Diff line change @@ -158,10 +158,13 @@ jobs:
158158 # Configure Git:
159159 - name : ' Configure Git'
160160
161- # Instruct `git` to convert CRLF line endings (Windows) to LF on commit.
161+ # Instruct Git to convert CRLF line endings (Windows) to LF on commit and force Git to use HTTPS rather than SSH .
162162 #
163163 # [1]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#Formatting-and-Whitespace
164- run : git config --global core.autocrlf input
164+ run : |
165+ git config --global core.autocrlf input
166+ git config --global url."https://github.com/".insteadOf git@github.com:
167+ git config --global url."https://".insteadOf git://
165168 timeout-minutes : 2
166169
167170 # Configure NVS:
You can’t perform that action at this time.
0 commit comments