From 75d08f6072856ae995c5d39dcd330dbb5aa9c60a Mon Sep 17 00:00:00 2001 From: Callum Macdonald Date: Tue, 20 Feb 2024 13:20:19 +0100 Subject: [PATCH] Force git to use https in workflows. #2679 Same change in `test.yml` workflow. --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e4b0a40766..76cea137c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,10 @@ jobs: restore-keys: | ${{ runner.OS }}-node- ${{ runner.OS }}- + - name: Reconfigure git to use HTTP authentication + run: > + git config --global url."https://github.com/".insteadOf + ssh://git@github.com/ - name: Install dependencies run: npm ci - name: Test client @@ -52,6 +56,10 @@ jobs: restore-keys: | ${{ runner.OS }}-node- ${{ runner.OS }}- + - name: Reconfigure git to use HTTP authentication + run: > + git config --global url."https://github.com/".insteadOf + ssh://git@github.com/ - name: Install dependencies run: npm ci - name: Test server