This is an automated email from the ASF dual-hosted git repository.
snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 720ff86 Renovate: align with `apache/polaris` (#170)
720ff86 is described below
commit 720ff8699c664576f2ffc553225c152e6fc2c29d
Author: Robert Stupp <[email protected]>
AuthorDate: Fri Feb 20 18:39:59 2026 +0100
Renovate: align with `apache/polaris` (#170)
Also adds a license header.
---
.github/renovate.json5 | 71 ++++++++++++++++++++++++++++++++++++++------------
1 file changed, 55 insertions(+), 16 deletions(-)
diff --git a/.github/renovate.json5 b/.github/renovate.json5
index 398468e..ce4a7ff 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -1,16 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
- extends: ["config:base"],
-
- "labels": ["dependencies"],
+ extends: [
+ "config:recommended",
+ // Required to not pin dependencies to _exact_ versions (pip)
+ ":preserveSemverRanges",
+ "group:monorepos",
+ "helpers:pinGitHubActionDigests",
+ ":semanticPrefixFixDepsChoreOthers",
+ ":dependencyDashboard",
+ ],
packageRules: [
- // Check for updates, merge automatically
+ // Check for updates, do not merge automatically. This rule does
effectively nothing, but serves as a
+ // reference for the kinds of managers used in Polaris.
{
- matchManagers: ["maven", "gradle", "gradle-wrapper"],
- matchUpdateTypes: ["minor", "patch"],
- automerge: true,
- platformAutomerge: true,
+ matchManagers: [
+ "gradle", "gradle-wrapper",
+ "pip_requirements", "pip_setup", "uv", "setup-cfg",
+ "dockerfile", "devcontainer", "docker-compose",
+ "github-actions"],
+ automerge: false,
},
// Special rule for Iceberg and related artifacts
@@ -24,19 +51,31 @@
"^org[.]apache[.]iceberg:.*",
"^software[.]amazon[.]awssdk:.*",
],
- automerge: false,
prBodyNotes: [":warning: Only update org.apache.iceberg with
org.apache.hadoop + software.amazon.awssdk:warning:"]
},
-
- // Check for major updates, but do not merge automatically
+ // Reduce update frequency for a few dependencies that have a quite high
release frequency.
+ // awssdk (release frequency: daily)
{
- matchManagers: ["maven", "gradle", "gradle-wrapper"],
- matchUpdateTypes: ["major"],
- automerge: false,
+ matchManagers: ["gradle"],
+ matchPackageNames: ["software.amazon.awssdk{/,}**"],
+ extends: ["schedule:weekly"],
+ },
+ // Disable update for python version
+ {
+ matchPackageNames: ["python"],
+ enabled: false
},
+ {
+ matchManagers: ["github-actions"],
+ matchPackageNames: ["python"],
+ enabled: false
+ }
],
- // Max 50 PRs in total, 10 per hour
+ // Max 50 PRs in total, 5 per hour
prConcurrentLimit: 50,
- prHourlyLimit: 10,
+ prHourlyLimit: 5,
+
+ // add renovate-polaris label to easily filter PRs/email
+ labels: ["renovate-polaris"],
}