From 049f9a9e376282017e21aa33485e10efdf00ad5e Mon Sep 17 00:00:00 2001 From: Cody Seibert Date: Mon, 15 Dec 2025 19:19:23 -0500 Subject: [PATCH] chore: add Git configuration for HTTPS in workflow files to support CI environment --- .github/workflows/e2e-tests.yml | 5 +++++ .github/workflows/pr-check.yml | 5 +++++ .github/workflows/release.yml | 5 +++++ .github/workflows/test.yml | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 33e6f570..24065347 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -25,6 +25,11 @@ jobs: cache: "npm" cache-dependency-path: package-lock.json + - name: Configure Git for HTTPS + # Convert SSH URLs to HTTPS for git dependencies (e.g., @electron/node-gyp) + # This is needed because SSH authentication isn't available in CI + run: git config --global url."https://github.com/".insteadOf "git@github.com:" + - name: Install dependencies # Use npm install instead of npm ci to correctly resolve platform-specific # optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 8deaf829..604c9d8d 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -24,6 +24,11 @@ jobs: cache: "npm" cache-dependency-path: package-lock.json + - name: Configure Git for HTTPS + # Convert SSH URLs to HTTPS for git dependencies (e.g., @electron/node-gyp) + # This is needed because SSH authentication isn't available in CI + run: git config --global url."https://github.com/".insteadOf "git@github.com:" + - name: Install dependencies # Use npm install instead of npm ci to correctly resolve platform-specific # optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d213af0..aa6ec548 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,11 @@ jobs: cache: "npm" cache-dependency-path: package-lock.json + - name: Configure Git for HTTPS + # Convert SSH URLs to HTTPS for git dependencies (e.g., @electron/node-gyp) + # This is needed because SSH authentication isn't available in CI + run: git config --global url."https://github.com/".insteadOf "git@github.com:" + - name: Install dependencies # Use npm install instead of npm ci to correctly resolve platform-specific # optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2aac79a1..cadeb2f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,6 +24,11 @@ jobs: cache: "npm" cache-dependency-path: package-lock.json + - name: Configure Git for HTTPS + # Convert SSH URLs to HTTPS for git dependencies (e.g., @electron/node-gyp) + # This is needed because SSH authentication isn't available in CI + run: git config --global url."https://github.com/".insteadOf "git@github.com:" + - name: Install dependencies # Use npm install instead of npm ci to correctly resolve platform-specific # optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)