Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Renovatebot to help manage dependencies. #305

Closed
venkatamutyala opened this issue Apr 6, 2024 · 4 comments · Fixed by #327
Closed

Install Renovatebot to help manage dependencies. #305

venkatamutyala opened this issue Apr 6, 2024 · 4 comments · Fixed by #327
Assignees
Labels

Comments

@venkatamutyala
Copy link
Contributor

I recently installed this in my work organization, and it's been huge in tracking updates and ensuring we are pinned to digest for all our dependencies. Ex. you have github actions that use @v1 instead of @v1:sha@XXXXXXX

Using @v1 can change or even worse be vulnerable to some supply chain issues while pinning to the @v1:sha... helps ensure no supply chain issues. It's worth noting if the action you are using isn't pinned you are still vulnerable to issues upstream from the action but it's at least once less thing to worry about.

It's simple to install: https://github.com/apps/renovate

Once you install it, all your repos will get a PR asking you to merge "renovate.json" feel free to accept it/merge and then it'll scan your repos for any dependency updates.

I have a slightly improved version of renovate.json that I'm using at work (OSS) and can share it with you as a follow-up PR.

@delano
Copy link
Collaborator

delano commented Apr 10, 2024

Ah, pinning actions is smart. It looks like renovate has some really in depth functionality. For managing dependencies specifically, are there other benefits relative to dependabot?

@venkatamutyala
Copy link
Contributor Author

venkatamutyala commented Apr 10, 2024

I just finished a roll out of dependabot at work at it seems to do everything while dependabot appears to just do CVE/security updates primarily. It doesn't appear to be uncommon to have both running.

As for what I like about renovatebot:

  • It seems to group updates together. Ex. it'll batch updates like pinning dependencies into one PR.
  • It works for everything, minor, patch, major. And covers: docker image updates, github actions, ruby/bundler, nodejs/package.json, etc. You can also create custom regex parsers that will monitor for a release and then update your file via PR via regex.

As for installation, if you choose to install it it'll create a PR adding a renovate.json file to each repo. Once you merge it in, it'll scan/update and open more PR's as needed. I have a renovate.json i can share with you that has a number of settings I found helpful in my own setup. As for removal, just remove the github app and optionally delete the renovate.json from each repository.

@delano
Copy link
Collaborator

delano commented May 2, 2024

Awesome, I'm sold. Yeah, create the PR at your leisure and we'll get it merged in 🦾

@venkatamutyala
Copy link
Contributor Author

@delano can you confirm if you installed this? https://github.com/apps/renovate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants