From 60300e1851ae97bc1917263fc6f5d183a26fd6a3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 15 May 2025 20:48:28 +0000 Subject: [PATCH 1/2] chore(config): migrate config .github/renovate.json5 --- .github/renovate.json5 | 94 +++++++++++++++++++++++------------------- 1 file changed, 52 insertions(+), 42 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index cc9dbd40a2b..6cc13e1ebee 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,59 +1,69 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:best-practices", - "helpers:pinGitHubActionDigestsToSemver" + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: [ + 'config:best-practices', + 'helpers:pinGitHubActionDigestsToSemver', ], - "packageRules": [ + packageRules: [ { - // this is to reduce the number of renovate PRs - "matchManagers": [ - "github-actions", - "dockerfile" + matchManagers: [ + 'github-actions', + 'dockerfile', ], - "extends": ["schedule:weekly"], - "groupName": "weekly update" + extends: [ + 'schedule:weekly', + ], + groupName: 'weekly update', }, { - "matchPackageNames": [ - "io.opentelemetry.contrib:opentelemetry-aws-xray-propagator", - "io.opentelemetry.proto:opentelemetry-proto", - "io.opentelemetry.semconv:opentelemetry-semconv-incubating" - ], - // Renovate's default behavior is only to update from unstable -> unstable if it's for the - // major.minor.patch, under the assumption that you would want to update to the stable version - // of that release instead of the unstable version for a future release - // (TODO remove once the artifacts above release stable versions) - "ignoreUnstable": false, - "allowedVersions": "!/\\-SNAPSHOT$/" + matchPackageNames: [ + 'io.opentelemetry.contrib:opentelemetry-aws-xray-propagator', + 'io.opentelemetry.proto:opentelemetry-proto', + 'io.opentelemetry.semconv:opentelemetry-semconv-incubating', + ], + ignoreUnstable: false, + allowedVersions: '!/\\-SNAPSHOT$/', }, { - // junit-pioneer 2+ requires Java 11+ - "matchPackageNames": ["org.junit-pioneer:junit-pioneer"], - "matchUpdateTypes": ["major"], - "enabled": false + matchPackageNames: [ + 'org.junit-pioneer:junit-pioneer', + ], + matchUpdateTypes: [ + 'major', + ], + enabled: false, }, { - // mockito 5+ requires Java 11+ - "matchPackagePrefixes": ["org.mockito:"], - "matchUpdateTypes": ["major"], - "enabled": false + matchUpdateTypes: [ + 'major', + ], + enabled: false, + matchPackageNames: [ + 'org.mockito:{/,}**', + ], }, { - // jqf-fuzz version 1.8+ requires Java 11+ - "matchPackageNames": ["edu.berkeley.cs.jqf:jqf-fuzz"], - "matchUpdateTypes": ["major", "minor"], - "enabled": false + matchPackageNames: [ + 'edu.berkeley.cs.jqf:jqf-fuzz', + ], + matchUpdateTypes: [ + 'major', + 'minor', + ], + enabled: false, }, { - // pinned version for compatibility - "matchPackageNames": ["org.jetbrains.kotlinx:kotlinx-coroutines-core"], - "matchCurrentVersion": "1.5.2", - "enabled": false + matchPackageNames: [ + 'org.jetbrains.kotlinx:kotlinx-coroutines-core', + ], + matchCurrentVersion: '1.5.2', + enabled: false, }, { - "matchPackagePrefixes": ["com.diffplug.spotless"], - "groupName": "spotless packages" - } - ] + groupName: 'spotless packages', + matchPackageNames: [ + 'com.diffplug.spotless{/,}**', + ], + }, + ], } From a69a2b0aa7fa2976b7697a201476fca7ee431266 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Thu, 15 May 2025 13:55:09 -0700 Subject: [PATCH 2/2] bring back comments --- .github/renovate.json5 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 6cc13e1ebee..70e3507d22b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -6,6 +6,7 @@ ], packageRules: [ { + // this is to reduce the number of renovate PRs matchManagers: [ 'github-actions', 'dockerfile', @@ -21,10 +22,15 @@ 'io.opentelemetry.proto:opentelemetry-proto', 'io.opentelemetry.semconv:opentelemetry-semconv-incubating', ], + // Renovate's default behavior is only to update from unstable -> unstable if it's for the + // major.minor.patch, under the assumption that you would want to update to the stable version + // of that release instead of the unstable version for a future release + // (TODO remove once the artifacts above release stable versions) ignoreUnstable: false, allowedVersions: '!/\\-SNAPSHOT$/', }, { + // junit-pioneer 2+ requires Java 11+ matchPackageNames: [ 'org.junit-pioneer:junit-pioneer', ], @@ -34,6 +40,7 @@ enabled: false, }, { + // mockito 5+ requires Java 11+ matchUpdateTypes: [ 'major', ], @@ -43,6 +50,7 @@ ], }, { + // jqf-fuzz version 1.8+ requires Java 11+ matchPackageNames: [ 'edu.berkeley.cs.jqf:jqf-fuzz', ], @@ -53,6 +61,7 @@ enabled: false, }, { + // pinned version for compatibility matchPackageNames: [ 'org.jetbrains.kotlinx:kotlinx-coroutines-core', ],