From 2ad7b44ad2cffea936c5eed72ee42fe7b5fc25f7 Mon Sep 17 00:00:00 2001 From: Mahe Tardy Date: Thu, 13 Jul 2023 11:14:34 +0200 Subject: [PATCH] renovate: reduce the frequency of PR creation Create PRs on Monday, twice a day and create PR only once a month for GitHub actions updates. This commit also adds double quotes around some JSON fields. Signed-off-by: Mahe Tardy --- .github/renovate.json5 | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 78201e0da8d..d91e873b037 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -27,12 +27,11 @@ "Dockerfile*", "install/kubernetes/values.yaml", ], - postUpdateOptions: [ + "postUpdateOptions": [ "gomodTidy" ], "rebaseWhen": "conflicted", "pinDigests": true, - "ignorePresets": [":prHourlyLimit2"], "separateMajorMinor": true, "separateMultipleMajor": true, "separateMinorPatch": true, @@ -47,8 +46,8 @@ "kind/enhancement", "release-blocker" ], - schedule: [ - "on monday and friday" + "schedule": [ + "on monday" ], // about packageRules: To enable grouping, you configure the groupName field // to something non-null. @@ -66,6 +65,9 @@ "digest", "pin", "pinDigest" + ], + "schedule": [ + "every month" ] }, { @@ -93,7 +95,7 @@ "major", "minor", ], - matchBaseBranches: [ + "matchBaseBranches": [ "main" ], }, @@ -108,7 +110,7 @@ // update source import paths on major updates "gomodUpdateImportPaths", ], - postUpgradeTasks: { + "postUpgradeTasks": { "commands": ["/tmp/install-buildx", "make codegen", "make generate"], "fileFilters": ["**/**"], "executionMode": "branch" @@ -119,7 +121,7 @@ "pin", "pinDigest" ], - matchBaseBranches: [ + "matchBaseBranches": [ "main" ], }, @@ -135,7 +137,7 @@ // update source import paths on major updates "gomodUpdateImportPaths", ], - postUpgradeTasks: { + "postUpgradeTasks": { "commands": ["/tmp/install-buildx", "make codegen", "make generate"], "fileFilters": ["**/**"], "executionMode": "branch" @@ -148,7 +150,7 @@ "pin", "pinDigest" ], - matchBaseBranches: [ + "matchBaseBranches": [ "main" ], }, @@ -162,7 +164,7 @@ // update source import paths on major updates "gomodUpdateImportPaths", ], - postUpgradeTasks: { + "postUpgradeTasks": { "commands": ["/tmp/install-buildx", "make codegen", "make generate"], "fileFilters": ["**/**"], "executionMode": "branch" @@ -170,7 +172,7 @@ "matchUpdateTypes": [ "major", ], - matchBaseBranches: [ + "matchBaseBranches": [ "main" ], }, @@ -185,7 +187,7 @@ // update source import paths on major updates "gomodUpdateImportPaths", ], - postUpgradeTasks: { + "postUpgradeTasks": { "commands": ["/tmp/install-buildx", "make codegen", "make generate"], "fileFilters": ["**/**"], "executionMode": "branch" @@ -197,7 +199,7 @@ "pin", "pinDigest" ], - matchBaseBranches: [ + "matchBaseBranches": [ "main" ], }, @@ -237,7 +239,7 @@ "install/kubernetes/values.yaml", ], // lint and generate files for helm chart - postUpgradeTasks: { + "postUpgradeTasks": { "commands": ["install/kubernetes/test.sh"], "fileFilters": ["**/**"], "executionMode": "branch"