-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Forbid dependabot from performing major version bumps #6852
Conversation
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #6852 +/- ##
===========================================
+ Coverage 0 83.52% +83.52%
===========================================
Files 0 286 +286
Lines 0 30801 +30801
===========================================
+ Hits 0 25726 +25726
- Misses 0 4008 +4008
- Partials 0 1067 +1067 |
Sure, that sounds even better, thanks! |
Sorry, I just tried it and it's unfortunately not currently possible, which surprised me... The issue is tracked in dependabot/dependabot-core#1778. So I think we'll just have to keep this PR as-is for now. |
@pnacht I think it's achievable if you look at https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#example-3 for example. Basically specifying the update-type under the group instead. And either:
And in both alternatives above, minor and patch updates will continue to be grouped in 1 PR as today (just without major updates) |
As requested in #6835 (comment), this PR configures dependabot to ignore major version bumps, reducing the risk of breaking changes.
If you wish, I can instead configure dependabot to send separate PRs with major version bumps. This way, you can easily identify and merge the "easy" minor/patch bumps, but also be notified of major version bumps that may require a bit more attention.
RELEASE NOTES: none