Skip to content

Is it possible to extend included presets? #8407

Answered by rarkins
ablekhman asked this question in Request Help
Discussion options

You must be logged in to vote

You can extend presets, but the example you gave will not work. If you want patch-only in the example you gave, it needs to look like this:

{
  "packageRules": [
    {
      "extends": ["monorepo:springCore"],
      "updateTypes": ["minor", "major"],
      "enabled": false
    }
  ]
}

i.e. match the spring core mono repo, match update types minor and major, and then disable them. updateTypes is a matching clause, not an instruction clause.

Replies: 2 comments 2 replies

This comment has been hidden.

Comment options

You must be logged in to vote
2 replies
@ablekhman
Comment options

@rarkins
Comment options

Answer selected by ablekhman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants