Renovate fails to fetch private GitHub repo dependency after migrating from Yarn to pnpm (Host key verification failed) #39026
Replies: 4 comments 13 replies
-
|
Can you please share a Job ID for your repository, so we can check the logs on the Mend side? |
Beta Was this translation helpful? Give feedback.
-
|
OK, looking a little further, I believe that the |
Beta Was this translation helpful? Give feedback.
-
|
Have tried several different configurations, with no success, seems that Renovate, when using pnpm and a dependency with a private GitHub repo, is not working. |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, Please help this Discussion progress by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running Renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
A Mend.io-hosted app
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitHub
Please tell us more about your question or problem
After migrating our project from Yarn to pnpm, Renovate stopped being able to fetch dependencies from:
git+https://.No changes were made to our
.github/renovate.json5.The private npm package issue was fixed by adding an npm token in the Renovate Web UI and this rule:
This works fine now.
The private GitHub dependency is referenced in
package.jsonin this way:Following the Renovate docs, I added:
However, Renovate fails with this error:
Note:
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions