Repository navigation
apm artifact updates get no credentials for private dependencies #46874
How are you running Renovate?A Mend.io-hosted app Which platform you running Renovate on?GitHub.com Which version of Renovate are you using?44.134.1 Please tell us more about your question or problemWhen On the Mend app, the lookup needs a host rule first. The app's own token can't read the private repository, even with the app installed on it. Without a rule, GitHub's GraphQL API doesn't find the repository, and the lookup fails. From the job log: With a APM can't find a token on its own. For a github.com dependency, APM 0.33.0 tries anonymously first. After a 401, 403 or 404 it looks, in order, at:
That order is in
So Renovate can't update such a project. In the reproduction's job, Expected: Renovate passes Minimal reproduction: https://github.com/MPV/renovate-apm-private-dependency. The skill it pins is in a private repository, so only the job log shows the failure. Renovate's PR, with the artifact error: MPV/renovate-apm-private-dependency#1. It changes only I have a fix ready: #46876 Logs (if relevant)Logs |
Replies: 1 comment
|
Thanks for the analysis. The fix in #46876, which passes the For the lookup step, you still need a |
Thanks for the analysis.
The fix in #46876, which passes the
github.comtoken toapm installlooks correct.For the lookup step, you still need a
github-tagshost rule with a token that can read the private repository, as you found.