You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run CI on repo_1 on a local runner. This will add the url..insteadof to the global .gitconfig of that runner.
Run CI on repo_2 on the same local runner. When trying to checkout the repository, the checkout will be redirected to use the deploy key in ~/.ssh/ (added by repo_1's CI) rather than the PAT. This will cause the checkout action to fail, with the following error:
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +9849...41:refs/remotes/pull/7/merge
Load key "/home/docker/.ssh/key-3e0...9f[40](https://github.com/org/repo/actions/runs/87...80/job/2...5#step:2:45)b75...5d9": invalid format
[email protected]: Permission denied (publickey).
Error: fatal: Could not read from remote repository.
Workaround:
Deleting the global .gitconfig before each run stops the issue
The text was updated successfully, but these errors were encountered:
Versions:
How to reproduce:
Workaround:
The text was updated successfully, but these errors were encountered: