Skip to content

Commit 3e4c533

Browse files
banikharbandacopybara-github
authored andcommitted
Cleaning up renovate configs
Make it so googleapis, and protobuf do not update on minor and patch releases. Also make renovate ignore llvm_zlib and llvm_zstd packages as they are pinned to the version used by llvm. Ignore abseil-cpp in renovate to keep it same version as goma fork. We were already attempting to the things above but were missing a few rules, which hopefully this CL will amend. Bug: b/400484161 Test: N/A Change-Id: I054c23724968167928c42c3e5a3bc717d4720c14 GitOrigin-RevId: 85f4bf74c75cb63668b3737a09f8d330ceec8262
1 parent 569faba commit 3e4c533

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

renovate.json5

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,29 @@
77
],
88
"postUpdateOptions": ["gomodTidy"], // Run go mod tidy after updating.
99
"packageRules": [
10-
{ // Update googleapis packages once a month.
10+
{
11+
"description": "Ignore minor & patch updates for googleapis.",
12+
"matchPackagePrefixes": [
13+
"google.golang.org/genproto",
14+
],
15+
"matchUpdateTypes": ["minor, patch"],
16+
"enabled": false
17+
},
18+
{ "description": "Update googleapis packages once a month.",
1119
"matchPackagePrefixes": [
1220
"google.golang.org/genproto",
1321
],
1422
"matchUpdateTypes": ["major"],
1523
"schedule": ["every month"],
1624
"groupName": "googleapis"
1725
},
18-
{ // Update x/tools packages once a month.
26+
{ "description": "Update x/tools packages once a month.",
1927
"matchPackagePrefixes": [
2028
"golang.org/x/tools"
2129
],
2230
"schedule": ["every month"]
2331
},
24-
{ // Update angular monorepo packages once a month.
32+
{ "description": "Update angular monorepo packages once a month.",
2533
"matchSourceUrlPrefixes": [
2634
"https://github.com/angular/angular",
2735
"https://github.com/angular/angular-cli",
@@ -30,25 +38,35 @@
3038
"schedule": ["every month"],
3139
"groupName": "angular+cli monorepo"
3240
},
33-
{ // Update protobuf packages once a month as this is a major task.
41+
{
42+
"description": "Ignore minor & patch updates for protobuf.",
43+
"matchPackagePrefixes": [
44+
"protobuf"
45+
],
46+
"matchUpdateTypes": ["minor, patch"],
47+
"enabled": false
48+
},
49+
{"description": "Update protobuf packages once a month as this is a major task.",
3450
"matchPackagePrefixes": [
3551
"protobuf"
3652
],
3753
"matchUpdateTypes": ["major"],
3854
"schedule": ["every month"],
3955
"groupName": "protobuf"
4056
},
41-
{ // Ignore llvm_zlib and llvm_zstd packages as they are pinned to the version used by the llvm project.
57+
{ "description": "Ignore llvm_zlib and llvm_zstd packages as they are pinned to the version used by the llvm project.",
4258
"matchPackagePrefixes": [
4359
"llvm_zlib",
4460
"llvm_zstd",
4561
],
62+
"matchUpdateTypes": ["major, minor, patch"],
4663
"enabled": false
4764
},
48-
{ // Ignore abseil-cpp in renovate to keep it the same version as the goma fork.
65+
{ "description": "Ignore abseil-cpp in renovate to keep it the same version as the goma fork.",
4966
"matchPackagePrefixes": [
5067
"abseil-cpp"
5168
],
69+
"matchUpdateTypes": ["major, minor, patch"],
5270
"enabled": false,
5371
"groupName": "abseil-cpp"
5472
}

0 commit comments

Comments
 (0)