From 20d46585654377fe35a6e05a1f19879aea0a7ad0 Mon Sep 17 00:00:00 2001 From: Chris Bargmann Date: Wed, 12 Aug 2026 15:05:09 +0200 Subject: [PATCH] ci(renovate): auto-bump go-github import paths in examples and readme --- .github/renovate.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index 7d5f4982..7d054a44 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,5 +2,23 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "github>cbrgm/cbrgm//renovate/preset" + ], + "postUpdateOptions": [ + "gomodUpdateImportPaths" + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "^README\\.md$" + ], + "matchStrings": [ + "github\\.com/google/go-github/(?v\\d+)/github" + ], + "depNameTemplate": "google/go-github", + "datasourceTemplate": "github-tags", + "versioningTemplate": "regex:^v(?\\d+)(\\.(?\\d+))?(\\.(?\\d+))?$", + "autoReplaceStringTemplate": "github.com/google/go-github/v{{{newMajor}}}/github" + } ] }