How to configure renovate to scan gruntwork-io repos #657
|
Hey, i am excited to use Patcher as soon as it is ready. But for now, i would like to configure Renovate and, unfortunately, cannot get it run. For me looks like renovate cannot scan private repos (most of our Is there any workaround? Or is it correct that it cannot be achieved with renovate and Thanks in advance! |
Replies: 2 comments 2 replies
|
@nadiia-caspar what is it doing when you try to get it running? Does it throw an error? |
|
I believe Mend recommends running Renovate as a GitHub App to handle this access, however you could also configure Renovate to with a Personal Access Token directly in the configuration file. Of course, adding a Github Personal Access Token directly to the config file isn't ideal. Take a look at https://docs.renovatebot.com/getting-started/installing-onboarding/#hosted-githubcom-app and https://docs.renovatebot.com/modules/platform/github/#running-as-a-github-app for additional details. We wrote our own trivial registry to run as a Serverless/Lambda app whose sole purpose is to look up private modules and return their versions; this way we could keep our creds in AWS. Hope that helps! |
I believe you are correct. Renovate would need to have its own access to our private repos, it doesn't run as if impersonating your credentials.
It is a less elegant solution that Patcher (or Renovate) but we do have a page on our website where you can check once a month for the latest releases, if that is helpful. https://docs.gruntwork.io/guides/stay-up-to-date/