-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
23 lines (23 loc) · 953 Bytes
/
renovate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"packageRules": [
{
"description": "modify title column for golang.org/x packages",
"matchManagers": ["gomod"],
"prBodyDefinitions": {
"Package": "{{#if (containsString depName 'golang.org/x/')}}[{{{depName}}}](https://pkg.go.dev/{{{depName}}}){{else}}{{{depNameLinked}}}{{/if}}",
}
},
{
"description": "modify change column for golang.org/x packages",
"matchManagers": ["gomod"],
"matchUpdateTypes": ["major", "minor", "patch"],
"prBodyDefinitions": {
"Change": "{{#if (containsString depName 'golang.org/x/')}}[`{{{displayFrom}}}` -> `{{{displayTo}}}`](https://cs.opensource.google/{{{replace '^golang\\.org' 'go' depName}}}/+/refs/tags/{{{currentValue}}}...refs/tags/{{{newValue}}}){{else}}`{{{displayFrom}}}` -> `{{{displayTo}}}`{{/if}}"
}
}
]
}