Skip to content

Commit cc19990

Browse files
authored
chore(deps): ignore google/go-github package updates (#2465)
"properly" ignore `github.com/google/go-github` dependency updates via renovate since they require code changes (import path updates). Since the module name is changed with each release, we cannot `ignoreDeps` a single module, and [`ignoreDeps` does not support pattern matching, but has a workaround](https://docs.renovatebot.com/configuration-options/#ignoredeps), which I've implemented here.
1 parent c3a2f34 commit cc19990

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/renovate.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@
1212
"commitMessageAction": "update",
1313
"groupName": "all",
1414
"ignoreDeps": [
15-
"google.golang.org/appengine",
16-
"github.com/google/go-github"
15+
"google.golang.org/appengine"
16+
],
17+
"packageRules": [
18+
{
19+
"matchPackageNames": ["^github.com/google/go-github/v"],
20+
"enabled": false
21+
}
1722
],
1823
"force": {
1924
"constraints": {

0 commit comments

Comments
 (0)