From c38acaff81bf37f2b8d8882769fe2d86d981fe70 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Thu, 4 Jul 2024 09:01:07 +0200 Subject: [PATCH] chore(renovate): add base branches --- renovate.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/renovate.json b/renovate.json index 4f032edd3f..8f12afb9e9 100644 --- a/renovate.json +++ b/renovate.json @@ -15,6 +15,13 @@ "docker:pinDigests", "helpers:pinGitHubActionDigests" ], + "baseBranches": [ + "$default", + "/^v7\\.\\d+/forgejo$", + "/^v8\\.\\d+/forgejo$", + "/^v9\\.\\d+/forgejo$", + "/^v\\d\\d+\\.\\d+\\/forgejo$" + ], "semanticCommits": "disabled", "automergeStrategy": "merge-commit", "postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths", "npmDedupe"], @@ -56,9 +63,7 @@ }, { "description": "elasticsearch CI images are published about once a month and do not use semantic versioning or short tags", - "matchDepNames": [ - "elasticsearch" - ], + "matchDepNames": ["elasticsearch"], "extends": ["schedule:quarterly"] }, { @@ -176,6 +181,11 @@ "description": "disallow `eslint-plugin-no-use-extend-native` v0.6.0+, requires eslint v9", "matchDepNames": ["eslint-plugin-no-use-extend-native"], "allowedVersions": "<0.6.0" + }, + { + "description": "Require approval for stable branches (must be last rule to override all others)", + "matchBaseBranches": ["/^v\\d+\\.\\d+\\/forgejo$/"], + "dependencyDashboardApproval": true } ], "customManagers": [