-
Notifications
You must be signed in to change notification settings - Fork 35
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
Target minor as default #119
Comments
I do not agree with this proposal because when doing things in the right way, meaning the code is tested, bumping majors is perfectly fine because breakages will be caught by tests. If we were to do this change, we would favor users who are not doing things in the right way and put more burden on users who are (because either they would need to manually merge those PRs or they have to do additional configuration when using the action). Hence, I think we should prioritize users who are doing things in the right way by keeping "any" as the default. Also note that minor is not a sensible default in general because for submodule bumps, we don't have any versions (see #95), hence why we recently set it to "any". |
What I see are two usages:
Do you agree on these two types? EDIT: add 3rd option |
I think it makes more sense to put this on hold until there are less things moving around here, post v3 |
Sorry for hijacking, but this seemed like a relevant place to ask: I want to limit the automerging to be minor and patches: I tried: Would using: |
@kmthorsnes correct, and indeed the docs don't clarify it, but when you set it to minor, anything "less" than minor will be merged. We should probably clarify it in the docs |
That clears things up, great! Thank you for swift reply 🚤 ! |
It would be very useful to be able to define target levels per pattern or group. |
@jmullo this feels like a different feature request, please open a new one |
I'm going to close this one which has been open for two years. Although somebody will disagree, it's clear that we're not going to do this, therefore no point in keeping it open. If you want to target minor, use the corresponding action input. |
Prerequisites
🚀 Feature Proposal
Starting from this issue:
The same issue above happened to the fastify's modules as well.
I think the
target: minor
is a more secure default for users.Or, we could define
target: major
per dev-dependancies andtarget: minor
for dependencies.Motivation
Usually, the merge PRs are overseen and you may release a wrong semver or face some issue that needs investigating a lot.
There was already a comment somewhere that was cons to this change, but I think worth discussing it a bit.
Example
No response
The text was updated successfully, but these errors were encountered: