diff --git a/.github/renovate.json b/.github/renovate.json index a7a30df..a868376 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -5,13 +5,46 @@ ":semanticCommitTypeAll(ci)" ], "schedule": [ - "* 0 2 * *" - ], + "* 0 2 * *" + ], "packageRules": [ { - "matchUpdateTypes": ["digest"], + "matchUpdateTypes": [ + "digest" + ], "automerge": true + }, + { + "packageNames": [ + "grpc/python" + ], + "manager": "script", + "versioning": { + "matchScript": "jo page_size=250 | buf curl --schema=buf.build/bufbuild/buf --data @- https://buf.build/buf.alpha.registry.v1alpha1.PluginCurationService/ListCuratedPlugins | jq -r '.plugins[] | .owner + \"/\" + .name + \":\" + .version' | grep grpc", + "extractVersion": "jq -r .version" + } + } + ], + "regexManagers": [ + { + "fileMatch": [ + "(^|\\/)buf.gen.yaml" + ], + "matchStrings": [ + "grpc/python:(?.*?)\\s" + ], + "datasourceTemplate": "github-tags", + "depNameTemplate": "grpc/grpc" + }, + { + "fileMatch": [ + "(^|\\/)buf.gen.yaml" + ], + "matchStrings": [ + "protocolbuffers/python:(?.*?)\\s" + ], + "datasourceTemplate": "github-tags", + "depNameTemplate": "protocolbuffers/protobuf" } ] -} - +} \ No newline at end of file