Skip to content

Incorrect suggestion for renovate-missing-minimum-release-age rule #4018

Description

@eliashaeussler

Describe the bug
The renovate-missing-minimum-release-age rule suggests setting "minimumReleaseAge": false to set an exception for the minimum release age. However, false is not accepted as possible value by Renovate and leads to Renovate erroring and stopping further execution.

To Reproduce
Add the "minimumReleaseAge": false line to your renovate.json, run Renovate again and wait for an "Action Required: Fix Renovate Configuration" issue in your project. The issue contains a text like this:

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop MRs until it is resolved.

Location: renovate.json Error type: The renovate configuration file contains some invalid settings Message: Configuration option packageRules[0].minimumReleaseAge should be a string

Expected behavior
Instead of suggesting "minimumReleaseAge": false, the suggestion should be "minimumReleaseAge": "0 days", since according to the Renovate docs, 0 days is treated as "no minimum release age", whereas false is not an accepted value.

Priority
How important is this to you?

  • P0: blocking me from making progress
  • P1: this will block me in the near future
  • P2: annoying but not blocking me

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions