From b6de897578c80f4696de11a376bd72a0b2709d57 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 18 Mar 2026 13:55:33 -0400 Subject: [PATCH 1/2] ci: Simply renovate bot config to only propose google sdk, testing, and ci dep updates --- renovate.json | 152 ++++++++++++++++---------------------------------- 1 file changed, 47 insertions(+), 105 deletions(-) diff --git a/renovate.json b/renovate.json index a319663dbd..29d4e6707c 100644 --- a/renovate.json +++ b/renovate.json @@ -12,8 +12,12 @@ "customManagers": [ { "customType": "regex", - "fileMatch": ["dependencies.txt"], - "matchStrings": ["(?.*),(.*)=(?.*)"], + "fileMatch": [ + "dependencies.txt" + ], + "matchStrings": [ + "(?.*),(.*)=(?.*)" + ], "datasourceTemplate": "maven" }, { @@ -89,143 +93,81 @@ ], "packageRules": [ { - "matchPackageNames": [ - "com.google.cloud:google-cloud-shared-config" - ], - "registryUrls": [ - "https://repo.maven.apache.org/maven2/", - "https://repo1.maven.org/maven2" - ] - }, - { - "matchUpdateTypes": [ - "major" - ], - "enabled": false, "matchPackageNames": [ "*" - ] - }, - { - "enabled": false, - "matchPackageNames": [ - "/^com.google.protobuf:/" - ] - }, - { - "versioning": "docker", - "matchPackageNames": [ - "/^com.google.guava:/" ], "enabled": false }, { - "semanticCommitType": "deps", - "semanticCommitScope": null, - "matchPackageNames": [ - "*" - ] - }, - { - "semanticCommitType": "build", - "semanticCommitScope": "deps", - "enabled": true, - "matchPackageNames": [ - "/^org.apache.maven/", - "/^org.jacoco:/", - "/^org.codehaus.mojo:/", - "/^org.sonatype.plugins:/", - "/^com.google.cloud:google-cloud-shared-config/" - ] - }, - { - "semanticCommitType": "chore", - "semanticCommitScope": "deps", - "matchPackageNames": [ - "/^{{metadata['repo']['distribution_name']}}/", - "/^com.google.cloud:libraries-bom/", - "/^com.google.cloud.samples:shared-configuration/" - ] - }, - { - "semanticCommitType": "test", - "semanticCommitScope": "deps", "matchPackageNames": [ "/^junit:junit/", "/^com.google.truth:truth/", "/^org.mockito:mockito-core/", - "/^org.objenesis:objenesis/", - "/^com.google.cloud:google-cloud-conformance-tests/" - ] - }, - { - "ignoreUnstable": false, - "matchPackageNames": [ - "/^com.google.cloud:google-cloud-/" - ] + "/^org.junit/" + ], + "groupName": "Testing Libraries", + "enabled": true }, { - "groupName": "jackson dependencies", "matchPackageNames": [ - "/^com.fasterxml.jackson.core/" - ] + "/^org.apache.maven/", + "/^org.jacoco:/", + "/^org.codehaus.mojo:/", + "/^org.sonatype.plugins:/" + ], + "groupName": "Maven Plugins", + "enabled": true }, { - "groupName": "gRPC dependencies", - "matchPackageNames": [ - "/^io.grpc/" + "matchManagers": [ + "github-actions" ], - "enabled": false + "matchFileNames": [ + ".cloudbuild/**", + ".github/workflows/**" + ], + "groupName": "CI/CD Updates", + "enabled": true }, { "groupName": "Google Auth Library dependencies", "matchPackageNames": [ "/^com.google.auth/" - ] - }, - { - "groupName": "Google API dependencies", - "matchPackageNames": [ - "/com.google.api.grpc:grpc-google-common-protos/", - "/com.google.api.grpc:grpc-google-iam-v1/", - "/com.google.api.grpc:proto-google-common-protos/", - "/com.google.api.grpc:proto-google-iam-v1/", - "/com.google.api:api-common/" - ] + ], + "enabled": true }, { "groupName": "Google HTTP Client dependencies", "matchPackageNames": [ "/^com.google.http-client/" - ] - }, - { - "groupName": "OpenCensus dependencies", - "matchPackageNames": [ - "/^io.opencensus/" - ] - }, - { - "groupName": "Netty dependencies", - "matchPackageNames": [ - "/^io.netty/" - ] + ], + "enabled": true }, { - "groupName": "Error Prone dependencies", + "groupName": "Java SDK Shared Config", "matchPackageNames": [ - "/^com.google.errorprone/" - ] + "com.google.cloud:google-cloud-shared-config" + ], + "enabled": true }, { "matchManagers": [ "regex" ], "semanticCommitType": "chore", - "matchFileNames": ["dependencies.txt"], - "matchDatasources": ["maven"], + "matchFileNames": [ + "dependencies.txt" + ], + "matchDatasources": [ + "maven" + ], "groupName": "Upper Bound Dependencies File", - "description": "Group all dependencies from the Upper Bound Dependencies File" + "description": "Group all dependencies from the Upper Bound Dependencies File", + "enabled": true } - ] -} + ], + "vulnerabilityAlerts": { + "enabled": true + }, + "osvVulnerabilityAlerts": true +} \ No newline at end of file From 648ffeb179635251f688140a2d88f44653755398 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 18 Mar 2026 14:56:08 -0400 Subject: [PATCH 2/2] chore: Address PR comment about semantic commit type and scope --- renovate.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/renovate.json b/renovate.json index 29d4e6707c..de68dfa973 100644 --- a/renovate.json +++ b/renovate.json @@ -106,7 +106,9 @@ "/^org.junit/" ], "groupName": "Testing Libraries", - "enabled": true + "enabled": true, + "semanticCommitType": "test", + "semanticCommitScope": "deps" }, { "matchPackageNames": [ @@ -116,7 +118,9 @@ "/^org.sonatype.plugins:/" ], "groupName": "Maven Plugins", - "enabled": true + "enabled": true, + "semanticCommitType": "build", + "semanticCommitScope": "deps" }, { "matchManagers": [ @@ -148,7 +152,9 @@ "matchPackageNames": [ "com.google.cloud:google-cloud-shared-config" ], - "enabled": true + "enabled": true, + "semanticCommitType": "build", + "semanticCommitScope": "deps" }, { "matchManagers": [