11{
22 "$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
3- "extends" : [" github>open-feature/community-tooling" ]
4- }
3+ "extends" : [" github>open-feature/community-tooling" ],
4+ "customManagers" : [
5+ {
6+ "customType" : " regex" ,
7+ "description" : " Update the GoBaseImage constant when a newer golang Docker image is available" ,
8+ "managerFilePatterns" : [
9+ " test/integration/integration.go"
10+ ],
11+ "matchStrings" : [
12+ " GoBaseImage = \" golang:(?<currentValue>\\ d+\\ .\\ d+(?:\\ .\\ d+)?)-alpine\" "
13+ ],
14+ "depNameTemplate" : " golang" ,
15+ "datasourceTemplate" : " docker" ,
16+ "versioningTemplate" : " docker"
17+ },
18+ {
19+ "customType" : " regex" ,
20+ "description" : " Update minimum Go version mentioned in README and CONTRIBUTING" ,
21+ "managerFilePatterns" : [
22+ " README.md" ,
23+ " CONTRIBUTING.md"
24+ ],
25+ "matchStrings" : [
26+ " Go >= (?<currentValue>\\ d+\\ .\\ d+(?:\\ .\\ d+)?)" ,
27+ " Go (?<currentValue>\\ d+\\ .\\ d+(?:\\ .\\ d+)?) or later"
28+ ],
29+ "depNameTemplate" : " go" ,
30+ "datasourceTemplate" : " golang-version" ,
31+ "extractVersionTemplate" : " ^(?<version>\\ d+\\ .\\ d+)"
32+ }
33+ ],
34+ "packageRules" : [
35+ {
36+ "description" : " Group all Go toolchain bumps (go.mod, GoBaseImage const, docs) into a single PR" ,
37+ "matchDatasources" : [" docker" , " golang-version" ],
38+ "matchPackageNames" : [" golang" , " go" ],
39+ "groupName" : " go toolchain"
40+ }
41+ ]
42+ }
0 commit comments