From 53d3e97c7270e2c82f840b1ae282dd93a083ab52 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 15 Feb 2023 15:47:35 -0500 Subject: [PATCH] chore: renovate json to group Protobuf artifacts Copying packageGroup configuration from https://github.com/googleapis/synthtool/blob/master/synthtool/gcp/templates/java_library/renovate.json --- renovate.json | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 6fd84f1a85..6cc1ba4d5d 100644 --- a/renovate.json +++ b/renovate.json @@ -3,5 +3,70 @@ "config:base" ], "ignorePaths": [".kokoro/requirements.txt"], - "ignoreDeps": ["rules_pkg"] + "ignoreDeps": ["rules_pkg"], + "packageRules": [ + { + "packagePatterns": [ + "^com.google.guava:" + ], + "versionScheme": "docker" + }, + { + "packagePatterns": [ + "*" + ], + "semanticCommitType": "deps", + "semanticCommitScope": null + }, + { + "packagePatterns": [ + "^org.apache.maven", + "^org.jacoco:", + "^org.codehaus.mojo:", + "^org.sonatype.plugins:", + "^com.coveo:", + "^com.google.cloud:google-cloud-shared-config" + ], + "semanticCommitType": "build", + "semanticCommitScope": "deps" + }, + { + "packagePatterns": [ + "^{{metadata['repo']['distribution_name']}}", + "^com.google.cloud:libraries-bom", + "^com.google.cloud.samples:shared-configuration" + ], + "semanticCommitType": "chore", + "semanticCommitScope": "deps" + }, + { + "packagePatterns": [ + "^junit:junit", + "^com.google.truth:truth", + "^org.mockito:mockito-core", + "^org.objenesis:objenesis", + "^com.google.cloud:google-cloud-conformance-tests" + ], + "semanticCommitType": "test", + "semanticCommitScope": "deps" + }, + { + "packagePatterns": [ + "^com.google.cloud:google-cloud-" + ], + "ignoreUnstable": false + }, + { + "packagePatterns": [ + "^com.fasterxml.jackson.core" + ], + "groupName": "jackson dependencies" + }, + { + "packagePatterns": [ + "^com.google.protobuf" + ], + "groupName": "Protobuf dependencies" + } + ], }