Use different access token for specific repository #29838
-
What would you like help with?I would like help with my configuration How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.GitLab Please tell us more about your question or problemI need to use different Personal Access Tokens for one specific repository which is separate project hosted on GitLab. Currently, my configuration is as follows:
Problem with this config is, that it will use this token for all dependencies that will match our gitlab host URL. My question is, is there a way to only use specific token for single repository? Thanks for the reply. Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can, and most likely you have the wrong matchHost. You shouldn't be using the web/html path and instead the API path. You can see the list of URLs attempted in the debug logs (look for the |
Beta Was this translation helpful? Give feedback.
You can, and most likely you have the wrong matchHost. You shouldn't be using the web/html path and instead the API path. You can see the list of URLs attempted in the debug logs (look for the
HTTP statistics
log message towards the end).