Skip to content

Commit bcc6125

Browse files
committed
Add all automerge options to lockFileMaintanance and move
rpmVulnerabilityAutomerge so they are together
1 parent 01d190c commit bcc6125

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/renovate.json5

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
"branchConcurrentLimit": null,
2424
// The number of PRs MintMaker can open in one hour, effectively in one run.
2525
"prHourlyLimit": 6,
26-
// Automerge all rpm-lockfile security updates. This is configured separately from other package managers.
27-
// https://konflux-ci.dev/docs/mintmaker/rpm-lockfile/#how-to-enable-automerge-for-rpm-security-updates
28-
"rpmVulnerabilityAutomerge": "ALL",
2926
"timezone": "Etc/UTC",
3027
"schedule": [
3128
// Allowed syntax: https://docs.renovatebot.com/configuration-options/#schedule
@@ -61,9 +58,21 @@
6158
"**/*konflux*.Containerfile",
6259
],
6360
},
61+
// Automerge all rpm-lockfile security updates. This is configured separately from other package managers.
62+
// https://konflux-ci.dev/docs/mintmaker/rpm-lockfile/#how-to-enable-automerge-for-rpm-security-updates
63+
"rpmVulnerabilityAutomerge": "ALL",
6464
// RPM lockfile updates need to be set explicitly to automerge, separately from other package managers.
6565
"lockFileMaintanance": {
6666
"automerge": true,
67+
// A known issue is that some non-Konflux CI jobs currently fail, which may prevent successful auto-merging with a "branch" auto-merge setting.
68+
// Therefore, we use PR merge type and have automation approve PRs.
69+
"automergeType": "pr",
70+
"automergeStrategy": "squash",
71+
// Tell Renovate that it can automerge branches at any time of the day.
72+
"automergeSchedule": [
73+
"at any time",
74+
],
75+
"platformAutomerge": true,
6776
},
6877
"enabledManagers": [
6978
// Restrict Renovate focus on Konflux things since we rely on GitHub's dependabot for everything else.

0 commit comments

Comments
 (0)