|
40 | 40 | cache: "pnpm" |
41 | 41 | cache-dependency-path: contracts/pnpm-lock.yaml |
42 | 42 |
|
43 | | - - name: Set up SSH agent for @talos/client deploy key |
44 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
45 | | - with: |
46 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
47 | | - |
48 | | - - name: Configure Git auth for git dependencies |
49 | | - run: | |
50 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
51 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
52 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
53 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
54 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 43 | + - name: Configure Git for public dependencies |
| 44 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
55 | 45 |
|
56 | 46 | - name: Install deps |
57 | 47 | working-directory: ./contracts |
|
90 | 80 | cache: "pnpm" |
91 | 81 | cache-dependency-path: contracts/pnpm-lock.yaml |
92 | 82 |
|
93 | | - - name: Set up SSH agent for @talos/client deploy key |
94 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
95 | | - with: |
96 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
97 | | - |
98 | | - - name: Configure Git auth for git dependencies |
99 | | - run: | |
100 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
101 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
102 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
103 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
104 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 83 | + - name: Configure Git for public dependencies |
| 84 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
105 | 85 |
|
106 | 86 | - name: Install deps |
107 | 87 | working-directory: ./contracts |
@@ -140,18 +120,8 @@ jobs: |
140 | 120 | cache: "pnpm" |
141 | 121 | cache-dependency-path: contracts/pnpm-lock.yaml |
142 | 122 |
|
143 | | - - name: Set up SSH agent for @talos/client deploy key |
144 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
145 | | - with: |
146 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
147 | | - |
148 | | - - name: Configure Git auth for git dependencies |
149 | | - run: | |
150 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
151 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
152 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
153 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
154 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 123 | + - name: Configure Git for public dependencies |
| 124 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
155 | 125 |
|
156 | 126 | - name: Install deps |
157 | 127 | working-directory: ./contracts |
@@ -192,18 +162,8 @@ jobs: |
192 | 162 | cache: "pnpm" |
193 | 163 | cache-dependency-path: contracts/pnpm-lock.yaml |
194 | 164 |
|
195 | | - - name: Set up SSH agent for @talos/client deploy key |
196 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
197 | | - with: |
198 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
199 | | - |
200 | | - - name: Configure Git auth for git dependencies |
201 | | - run: | |
202 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
203 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
204 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
205 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
206 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 165 | + - name: Configure Git for public dependencies |
| 166 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
207 | 167 |
|
208 | 168 | - name: Install deps |
209 | 169 | working-directory: ./contracts |
@@ -263,18 +223,8 @@ jobs: |
263 | 223 | restore-keys: | |
264 | 224 | ${{ runner.os }}-hardhat-cache |
265 | 225 |
|
266 | | - - name: Set up SSH agent for @talos/client deploy key |
267 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
268 | | - with: |
269 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
270 | | - |
271 | | - - name: Configure Git auth for git dependencies |
272 | | - run: | |
273 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
274 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
275 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
276 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
277 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 226 | + - name: Configure Git for public dependencies |
| 227 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
278 | 228 |
|
279 | 229 | - name: Install deps |
280 | 230 | working-directory: ./contracts |
@@ -325,18 +275,8 @@ jobs: |
325 | 275 | restore-keys: | |
326 | 276 | ${{ runner.os }}-hardhat-cache |
327 | 277 |
|
328 | | - - name: Set up SSH agent for @talos/client deploy key |
329 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
330 | | - with: |
331 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
332 | | - |
333 | | - - name: Configure Git auth for git dependencies |
334 | | - run: | |
335 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
336 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
337 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
338 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
339 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 278 | + - name: Configure Git for public dependencies |
| 279 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
340 | 280 |
|
341 | 281 | - name: Install deps |
342 | 282 | working-directory: ./contracts |
@@ -387,18 +327,8 @@ jobs: |
387 | 327 | restore-keys: | |
388 | 328 | ${{ runner.os }}-hardhat-cache |
389 | 329 |
|
390 | | - - name: Set up SSH agent for @talos/client deploy key |
391 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
392 | | - with: |
393 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
394 | | - |
395 | | - - name: Configure Git auth for git dependencies |
396 | | - run: | |
397 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
398 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
399 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
400 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
401 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 330 | + - name: Configure Git for public dependencies |
| 331 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
402 | 332 |
|
403 | 333 | - name: Install deps |
404 | 334 | working-directory: ./contracts |
@@ -449,18 +379,8 @@ jobs: |
449 | 379 | restore-keys: | |
450 | 380 | ${{ runner.os }}-hardhat-cache |
451 | 381 |
|
452 | | - - name: Set up SSH agent for @talos/client deploy key |
453 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
454 | | - with: |
455 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
456 | | - |
457 | | - - name: Configure Git auth for git dependencies |
458 | | - run: | |
459 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
460 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
461 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
462 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
463 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 382 | + - name: Configure Git for public dependencies |
| 383 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
464 | 384 |
|
465 | 385 | - name: Install deps |
466 | 386 | working-directory: ./contracts |
@@ -511,18 +431,8 @@ jobs: |
511 | 431 | restore-keys: | |
512 | 432 | ${{ runner.os }}-hardhat-cache |
513 | 433 |
|
514 | | - - name: Set up SSH agent for @talos/client deploy key |
515 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
516 | | - with: |
517 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
518 | | - |
519 | | - - name: Configure Git auth for git dependencies |
520 | | - run: | |
521 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
522 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
523 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
524 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
525 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 434 | + - name: Configure Git for public dependencies |
| 435 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
526 | 436 |
|
527 | 437 | - name: Install deps |
528 | 438 | working-directory: ./contracts |
@@ -573,18 +483,8 @@ jobs: |
573 | 483 | restore-keys: | |
574 | 484 | ${{ runner.os }}-hardhat-cache |
575 | 485 |
|
576 | | - - name: Set up SSH agent for @talos/client deploy key |
577 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
578 | | - with: |
579 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
580 | | - |
581 | | - - name: Configure Git auth for git dependencies |
582 | | - run: | |
583 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
584 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
585 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
586 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
587 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 486 | + - name: Configure Git for public dependencies |
| 487 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
588 | 488 |
|
589 | 489 | - name: Install deps |
590 | 490 | working-directory: ./contracts |
@@ -671,18 +571,8 @@ jobs: |
671 | 571 | cache: "pnpm" |
672 | 572 | cache-dependency-path: contracts/pnpm-lock.yaml |
673 | 573 |
|
674 | | - - name: Set up SSH agent for @talos/client deploy key |
675 | | - uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1 |
676 | | - with: |
677 | | - ssh-private-key: ${{ secrets.TALOS_DEPLOY_KEY }} |
678 | | - |
679 | | - - name: Configure Git auth for git dependencies |
680 | | - run: | |
681 | | - # Public git deps (e.g. prompts) clone over HTTPS. |
682 | | - git config --global url."https://github.com/".insteadOf "git@github.com:" |
683 | | - # Keep the private @talos/client (oplabs/talos) on SSH so the deploy key |
684 | | - # authenticates it — the longer prefix takes precedence over the rule above. |
685 | | - git config --global url."git@github.com:oplabs/talos".insteadOf "git@github.com:oplabs/talos" |
| 574 | + - name: Configure Git for public dependencies |
| 575 | + run: git config --global url."https://github.com/".insteadOf "git@github.com:" |
686 | 576 |
|
687 | 577 | - name: Install deps |
688 | 578 | working-directory: ./contracts |
|
0 commit comments