Skip to content

Commit

Permalink
Update renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Jun 7, 2024
1 parent 884f0c5 commit 7a89d75
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@
],
"packageRules": [
{
"description": "modify columns for golang.org/x packages",
"description": "modify title column for golang.org/x packages",
"matchManagers": ["gomod"],
"matchUpdateTypes": ["major", "minor", "patch"],
"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}}"
}
}
Expand Down

0 comments on commit 7a89d75

Please sign in to comment.