Skip to content

Commit f50efab

Browse files
authored
Add custom rule for go.uber.org/mock to Renovate (#7463)
- A note will be included in the PR description to remind maintainers that the mockgen version should also be updated in the codegen image. - PRs updating go.uber.org/mock will be assigned to antoninbas and luolanzone. Signed-off-by: Antonin Bas <[email protected]>
1 parent 3fa4f93 commit f50efab

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/renovate.json5

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@
5050
addLabels: ["go"],
5151
},
5252

53+
{
54+
matchManagers: ["gomod"],
55+
matchPackageNames: ["go.uber.org/mock"],
56+
assignees: ["antoninbas", "luolanzone"],
57+
prBodyNotes: [
58+
":warning: The mockgen version in the [codegen image](https://github.com/antrea-io/antrea/blob/main/build/images/codegen/Dockerfile) should also be updated so that both versions stay synchronized. Either add a commit to this PR or open a replacement PR."
59+
],
60+
matchBaseBranches: ["main"],
61+
},
62+
5363
{
5464
matchManagers: ["gomod"],
5565
matchPackagePrefixes: ["golang.org/x/"],

0 commit comments

Comments
 (0)