Skip to content

Commit 8d79150

Browse files
feat(renovate): add renovate configuration for auto-updating toolbox version in build file of JS SDK (#110)
* feat(renovate): add renovate configuration for auto-updating toolbox version in build file of JS SDK * update pr commit message in renovate config * remove groupName field from branching block Signed-off-by: Anushka Saxena <anushkasaxenaa@google> * add new toolbox-adk package to filematch array Signed-off-by: SaxenaAnushka102 <[email protected]> --------- Signed-off-by: Anushka Saxena <anushkasaxenaa@google> Signed-off-by: SaxenaAnushka102 <[email protected]>
1 parent fb2b2f7 commit 8d79150

File tree

1 file changed

+57
-25
lines changed

1 file changed

+57
-25
lines changed

.github/renovate.json5

Lines changed: 57 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,41 @@
11
{
2-
extends: [
3-
'config:recommended',
4-
':semanticCommits',
5-
':ignoreUnstable',
6-
'group:allNonMajor',
7-
':separateMajorReleases',
8-
':prConcurrentLimitNone',
9-
':prHourlyLimitNone',
10-
':preserveSemverRanges',
2+
"extends": [
3+
"config:recommended",
4+
":semanticCommitTypeAll(chore)",
5+
":ignoreUnstable",
6+
"group:allNonMajor",
7+
":separateMajorReleases",
8+
":prConcurrentLimitNone",
9+
":prHourlyLimitNone",
10+
":preserveSemverRanges"
1111
],
12-
minimumReleaseAge: '3',
13-
rebaseWhen: 'conflicted',
14-
dependencyDashboardLabels: [
15-
'type: process',
12+
"minimumReleaseAge": "3",
13+
"rebaseWhen": "conflicted",
14+
"dependencyDashboardLabels": [
15+
"type: process"
1616
],
17-
packageRules: [
17+
"packageRules": [
1818
{
19-
groupName: 'GitHub Actions',
20-
matchManagers: [
21-
'github-actions',
19+
"groupName": "GitHub Actions",
20+
"matchManagers": [
21+
"github-actions"
2222
],
23-
pinDigests: true,
23+
"pinDigests": true
24+
},
25+
{
26+
"description": "Auto-update genai-toolbox server version",
27+
"matchPackageNames": [
28+
"googleapis/genai-toolbox"
29+
],
30+
"matchManagers": [
31+
"regex"
32+
],
33+
"branchName": "auto-update/toolbox-server-v{{newValue}}",
34+
"commitMessageTopic": "chore(deps): update MCP Toolbox server for integration tests to {{newValue}}",
35+
"matchUpdateTypes": [
36+
"minor",
37+
"patch"
38+
]
2439
},
2540
{
2641
"groupName": "js-ts-nonmajor",
@@ -34,11 +49,28 @@
3449
]
3550
},
3651
{
37-
groupName: 'kokoro dependencies',
38-
matchFileNames: [
39-
'.kokoro/**',
40-
],
41-
},
52+
"groupName": "kokoro dependencies",
53+
"matchFileNames": [
54+
".kokoro/**"
55+
]
56+
}
57+
],
58+
"ignoreDeps": [
59+
"typescript"
4260
],
43-
"ignoreDeps": ["typescript"],
44-
}
61+
"regexManagers": [
62+
{
63+
"fileMatch": [
64+
"packages/toolbox-core/integration.cloudbuild.yaml",
65+
"packages/toolbox-adk/integration.cloudbuild.yaml",
66+
],
67+
"matchStrings": [
68+
"_TOOLBOX_VERSION: ['\"]?(?<currentValue>v?\\d+\\.\\d+\\.\\d+)['\"]?",
69+
],
70+
"datasourceTemplate": "github-releases",
71+
"depNameTemplate": "googleapis/genai-toolbox",
72+
"versioningTemplate": "semver",
73+
"packageNameTemplate": "googleapis/genai-toolbox"
74+
}
75+
]
76+
}

0 commit comments

Comments
 (0)