-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add CI job to auto-update pre-commit dependencies weekly #8411
Conversation
I'm not sure I can test this via dispatch until it is merged |
You might be interested in https://github.com/renovatebot/renovate, which is another free and open-source dependency update manager that handles way more ecosystems than Dependabot (including We use it on deptry, if you are curious (here's our configuration file, and fpgmaas/deptry#503 if you want to see a PR that updates a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me, defer to @zanieb on whether we want to use renovate :)
Hm... tempting. I've never used it seems like most people seem to find the ux relatively similar. @mkniewallner if you're interested in opening a pull request adding it I'll certainly review. It'd be nice to group patch version bumps in our cargo dependencies and bumps of development dependencies. |
Happy to! I'll play a bit with the configuration on a fork to have a better representation of PRs that Renovate would create, and eventually open a PR over here. |
Noticing our pre-commit dependencies are way out of date and opening this to investigate them again.... |
FWIW I've used renovate in a few projects, and just switched typeshed over to using it. It's slightly more complex to setup than dependabot, but it's extremely configurable, and it's really useful that it can do pre-commit dependencies as well as other dependencies. I don't have any major complaints with it. Happy to open a PR setting up the config for it on Monday so you can compare it with this! |
Here's what the renovate config would look like: |
Closing as superseded by #10567 👍 |
pre-commit provides an
autoupdate
command to bump dependency versions in the pre-commit configuration. Not only are our current versions all stale, with #8410 we'll want a reasonable way to update the Ruff version we are using.Until Dependabot support is released dependabot/dependabot-core#1524, using pre-commits command is the best option.
Note pre-commit provides a service that does this, but I'm not interested in depending on it.
This job opens a new pull request with updates if there are any.