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

docs: document that updateTypes: ['patch'] only works/matches if separateMinorPatch is set to true #7628

Merged
merged 7 commits into from Nov 4, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/usage/configuration-options.md
Expand Up @@ -1268,10 +1268,12 @@ For example to apply a special label for Major updates:
}
```

Update type `patch` only matches if `separateMinorPatch` is set to true.

rarkins marked this conversation as resolved.
Show resolved Hide resolved
## 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.
Copy link
Contributor

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


## php

Expand Down
2 changes: 1 addition & 1 deletion lib/config/definitions.ts
Expand Up @@ -900,7 +900,7 @@ const options: RenovateOptions[] = [
{
name: 'updateTypes',
description:
'Update types to match against (major, minor, pin, etc). Valid only within `packageRules` object.',
'Update types to match against (major, minor, pin, etc). Valid only within `packageRules` object. `patch` only matches if `separateMinorPatch` is set to true',
rarkins marked this conversation as resolved.
Show resolved Hide resolved
type: 'array',
// TODO: add allowedValues
subType: 'string',
Expand Down