Skip to content

Commit

Permalink
Refine renovate.json5: turn on auto merge of patch branches
Browse files Browse the repository at this point in the history
https://docs.renovatebot.com/key-concepts/automerge/#absence-of-tests

by default, Renovate will not automerge until it sees passing status checks / check runs for the branch. If you have no tests but still want Renovate to automerge, you need to add "ignoreTests": true to your configuration.
  • Loading branch information
gberche-orange committed Jan 3, 2024
1 parent 77da30e commit b940ce6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
//separateMultipleMinor: true, // Pending merge of https://github.com/renovatebot/renovate/pull/24538 to be effective
},
{
description: 'Only ask for patch updates for k8s releases',
description: 'Only ask for patch updates for k8s releases, ie. disable getting minor updates',
matchPaths: [
'vendir.yml',
],
Expand All @@ -58,7 +58,9 @@
//see https://docs.renovatebot.com/key-concepts/automerge/#automerge-non-major-updates
"matchUpdateTypes": ["patch"],
"matchCurrentVersion": "!/-rc/", // exclude release candidate from automerge
"automerge": true
"automerge": true,
//see https://docs.renovatebot.com/key-concepts/automerge/#absence-of-tests
ignoreTests: true
},
{
description: "Add common labels",
Expand Down

0 comments on commit b940ce6

Please sign in to comment.