fix(ci): configure git to use HTTPS for GitHub dependencies

Fixes "Permission denied (publickey)" error when Yarn tries to fetch
libsignal dependency via SSH in GitHub Actions.

Added git config to force HTTPS instead of SSH for all GitHub URLs
in all workflows that run yarn install.

https://claude.ai/code/session_01QPt4WssG6jjEciQKdVpFtK
This commit is contained in:
Claude
2026-02-02 16:45:41 +00:00
parent e452fd2115
commit 72c49352a3
7 changed files with 49 additions and 0 deletions
+7
View File
@@ -34,6 +34,13 @@ jobs:
corepack enable
corepack prepare yarn@4.x --activate
- name: Configure Git for HTTPS
run: |
# Force git to use HTTPS instead of SSH for GitHub repositories
# This fixes "Permission denied (publickey)" errors in CI
git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
git config --global url."https://github.com/".insteadOf "git@github.com:"
- name: Restore Yarn Cache
uses: actions/cache@v4
id: yarn-cache