diff --git a/.github/renovate.json5 b/.github/renovate.json5 index a8b22047..78b92021 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,7 +1,7 @@ { extends: [ 'config:recommended', - ':semanticCommits', + ':semanticCommitTypeAll(chore)', ':ignoreUnstable', 'group:allNonMajor', ':separateMajorReleases', @@ -22,6 +22,22 @@ ], pinDigests: true, }, + { + description: 'Auto-update genai-toolbox server version', + matchPackageNames: [ + 'googleapis/genai-toolbox', + ], + matchManagers: [ + 'regex', + ], + branchName: 'auto-update/toolbox-server-v{{newValue}}', + commitMessageTopic: 'chore(deps): update MCP Toolbox server for integration tests to {{newValue}}', + groupName: false, + matchUpdateTypes: [ + 'minor', + 'patch', + ], + }, { matchPackageNames: [ 'pytest', @@ -48,4 +64,20 @@ ], }, ], -} + regexManagers: [ + { + fileMatch: [ + 'packages/toolbox-core/integration.cloudbuild.yaml', + 'packages/toolbox-langchain/integration.cloudbuild.yaml', + 'packages/toolbox-llamaindex/integration.cloudbuild.yaml', + ], + matchStrings: [ + '_TOOLBOX_VERSION: [\'|"]?(?v?\\d+\\.\\d+\\.\\d+)[\'|"]?', + ], + datasourceTemplate: 'github-releases', + depNameTemplate: 'googleapis/genai-toolbox', + versioningTemplate: 'semver', + packageNameTemplate: 'googleapis/genai-toolbox', + }, + ], +} \ No newline at end of file