Skip to content

Commit ca25074

Browse files
chore(config): migrate config .github/renovate.json5 (#172)
Co-authored-by: Twisha Bansal <58483338+twishabansal@users.noreply.github.com>
1 parent 5305a7c commit ca25074

File tree

1 file changed

+35
-55
lines changed

1 file changed

+35
-55
lines changed

.github/renovate.json5

Lines changed: 35 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,57 @@
11
{
2-
"extends": [
2+
extends: [
33
"config:recommended",
44
":semanticCommitTypeAll(chore)",
55
":ignoreUnstable",
66
"group:allNonMajor",
77
":separateMajorReleases",
88
":prConcurrentLimitNone",
99
":prHourlyLimitNone",
10-
":preserveSemverRanges"
10+
":preserveSemverRanges",
1111
],
12-
"minimumReleaseAge": "3",
13-
"rebaseWhen": "conflicted",
14-
"configMigration": "true",
15-
"dependencyDashboardLabels": [
16-
"type: process"
17-
],
18-
"packageRules": [
12+
minimumReleaseAge: "3",
13+
rebaseWhen: "conflicted",
14+
configMigration: true,
15+
dependencyDashboardLabels: ["type: process"],
16+
packageRules: [
1917
{
20-
"groupName": "GitHub Actions",
21-
"matchManagers": [
22-
"github-actions"
23-
],
24-
"pinDigests": true
18+
groupName: "GitHub Actions",
19+
matchManagers: ["github-actions"],
20+
pinDigests: true,
2521
},
2622
{
27-
"description": "Auto-update genai-toolbox server version",
28-
"matchPackageNames": [
29-
"googleapis/genai-toolbox"
30-
],
31-
"matchManagers": [
32-
"regex"
33-
],
34-
"commitMessageTopic": "MCP Toolbox server version in integration tests",
35-
"prTitle": "chore(deps): update mcp toolbox server for integration tests to {{newValue}}",
36-
"matchUpdateTypes": [
37-
"minor",
38-
"patch"
39-
]
23+
description: "Auto-update genai-toolbox server version",
24+
matchPackageNames: ["googleapis/genai-toolbox"],
25+
matchManagers: ["custom.regex"],
26+
commitMessageTopic: "MCP Toolbox server version in integration tests",
27+
prTitle: "chore(deps): update mcp toolbox server for integration tests to {{newValue}}",
28+
matchUpdateTypes: ["minor", "patch"],
4029
},
4130
{
42-
"groupName": "js-ts-nonmajor",
43-
"matchCategories": [
44-
"js",
45-
"typescript"
46-
],
47-
"matchUpdateTypes": [
48-
"minor",
49-
"patch"
50-
]
31+
groupName: "js-ts-nonmajor",
32+
matchCategories: ["js", "typescript"],
33+
matchUpdateTypes: ["minor", "patch"],
5134
},
5235
{
53-
"groupName": "kokoro dependencies",
54-
"matchFileNames": [
55-
".kokoro/**"
56-
]
57-
}
58-
],
59-
"ignoreDeps": [
60-
"typescript"
36+
groupName: "kokoro dependencies",
37+
matchFileNames: [".kokoro/**"],
38+
},
6139
],
62-
"regexManagers": [
40+
ignoreDeps: ["typescript"],
41+
customManagers: [
6342
{
64-
"fileMatch": [
65-
"packages/toolbox-core/integration.cloudbuild.yaml",
66-
"packages/toolbox-adk/integration.cloudbuild.yaml",
43+
customType: "regex",
44+
managerFilePatterns: [
45+
"/packages/toolbox-core/integration.cloudbuild.yaml/",
46+
"/packages/toolbox-adk/integration.cloudbuild.yaml/",
6747
],
68-
"matchStrings": [
48+
matchStrings: [
6949
"_TOOLBOX_VERSION: ['\"]?(?<currentValue>v?\\d+\\.\\d+\\.\\d+)['\"]?",
7050
],
71-
"datasourceTemplate": "github-releases",
72-
"depNameTemplate": "googleapis/genai-toolbox",
73-
"versioningTemplate": "semver",
74-
"packageNameTemplate": "googleapis/genai-toolbox"
75-
}
76-
]
51+
datasourceTemplate: "github-releases",
52+
depNameTemplate: "googleapis/genai-toolbox",
53+
versioningTemplate: "semver",
54+
packageNameTemplate: "googleapis/genai-toolbox",
55+
},
56+
],
7757
}

0 commit comments

Comments
 (0)