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
docs: document that updateTypes: ['patch'] only works/matches if separateMinorPatch is set to true #7628
Conversation
I noticed that `updateTypes: ['patch']` only matches if `separateMinorPatch` is set to true. This comes somewhat unexpected and does not seem to be documented anywhere at the moment, as opposed to the documentation of the `patch` setting, where the docs correctly state `Only applies if separateMinorPatch is set to true`. Maybe related to renovatebot#2818 But without reading the docs, I would expect `updateTypes: ['patch']` to always match on patch updates (e.g. 1.0.0 to 1.0.1) regardless of the `separateMinorPatch` setting (which is only set if we want separate PRs or branches for patch AND minor updates)
Were the docs for this already updated? Cause I'm seeing this change live at https://docs.renovatebot.com/configuration-options/#patch EDIT: My mistake. I just search for this text on the docs site, saw it was there, but didn't realise it under |
docs/usage/configuration-options.md
Outdated
Update type `patch` only matches if `separateMinorPatch` is set to true. | ||
|
||
## patch | ||
|
||
Add to this object if you wish to define rules that apply only to patch updates. | ||
See also `major` and `minor` configuration options. | ||
Only applies if `separateMinorPatch` is set to true. |
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.
You don't need to update definition.ts
and configuration-options.md
. The docs that get deployed are a combination of both. You can see by taking a look at the patch section online, which reads:
Configuration to apply when an update type is patch. Only applies if separateMinorPatch is set to true
🎉 This PR is included in version 23.68.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
…rateMinorPatch is set to true (#7628) Co-authored-by: Rhys Arkins <rhys@arkins.net> Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
Changes:
update config definitions
Context:
I noticed that
updateTypes: ['patch']
only matches patch updates ifseparateMinorPatch
is set to true.This comes somewhat unexpected and does not seem to be documented anywhere at the moment, as opposed to the documentation of the
patch
setting, where the docs correctly stateOnly applies if separateMinorPatch is set to true
.Maybe related to #2818
But without reading the docs, I would expect
updateTypes: ['patch']
to always match on patch updates (e.g. 1.0.0 to 1.0.1) anyway, regardless of theseparateMinorPatch
setting (which is only set if we want separate PRs or branches for patch AND minor updates)Docs should be updated accordingly.
Documentation (please check one with an [x])
How I've tested my work (please tick one)
I have verified these changes via: