Apache Solr open-source search software
Set 10.x milestone on Renovate PRs for main branch (#4821)
Jan Høydahl43b6b350e819
diff --git a/.github/renovate.json b/.github/renovate.jsonindex 73a766f14d1..2422a043c71 100644--- a/.github/renovate.json+++ b/.github/renovate.json@@ -6,6 +6,7 @@"dependencyDashboard": false,"enabledManagers": ["gradle", "github-actions"],"labels": ["exempt-stale"],+ "milestone": 1,"includePaths": ["gradle/libs.versions.toml", "versions.*", "build.gradle", ".github/workflows/*"],"postUpgradeTasks": {"commands": [diff --git a/dev-docs/dependency-upgrades.adoc b/dev-docs/dependency-upgrades.adocindex 1bfbabb5d20..a3fe45548f0 100644--- a/dev-docs/dependency-upgrades.adoc+++ b/dev-docs/dependency-upgrades.adoc@@ -71,8 +71,11 @@ it will be re-used and auto updated whenever a newer patch- or minor version getchurn from frequently-updated dependencies by delaying merge until a few weeks before a new release. One can alsochoose to change to a less frequent schedule or disable the bot, by editing `renovate.json`.+Renovate PRs against `main` are put in the `10.x` milestone, via the `milestone` option which takes the numeric+milestone id (see https://api.github.com/repos/apache/solr/milestones). Bump it when `main` moves to a new major.+The `branch_9x` branch has its own `renovate.json` that layers on top of (and inherits from) this one, overriding only-the schedule and the lockfile/license commands. Grouping rules defined here therefore apply to `branch_9x` too.+the schedule, the milestone and the lockfile/license commands. Grouping rules defined here therefore apply to `branch_9x` too.Please note that Solr version prior to 10.X use a versions resolution plugin that uses `versions.lock` instead of`libs.version.toml`. Therefore, changes cannot be backported via cherry-pick.