Skip to content

Commit ad36ccc

Browse files
committed
changing glob patterns
Signed-off-by: hjoshi123 <mail@hjoshi.me>
1 parent c4f8a8a commit ad36ccc

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

modules/repository-base/base-dependabot/.github/renovate.json5

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
],
3030
executionMode: 'branch',
3131
},
32+
// packageRules uses globs for matchPackageNames. Some packages have a separate major version i.e. /v on them which is when we would need package**/**.
3233
packageRules: [
3334
{
3435
groupName: 'Misc Go deps',
@@ -45,9 +46,9 @@
4546
'gomod',
4647
],
4748
matchPackageNames: [
48-
'github.com/onsi/ginkgo**/**',
49-
'github.com/onsi/gomega**/**',
50-
'github.com/stretchr/testify**/**',
49+
'github.com/onsi/ginkgo/**',
50+
'github.com/onsi/gomega',
51+
'github.com/stretchr/testify',
5152
],
5253
},
5354
{
@@ -56,12 +57,12 @@
5657
'gomod',
5758
],
5859
matchPackageNames: [
59-
'github.com/akamai**/**',
60-
'github.com/aws**/**',
61-
'github.com/Azure**/**',
62-
'github.com/AzureAD**/**',
63-
'github.com/cloudflare**/**',
64-
'github.com/digitalocean**/**',
60+
'github.com/akamai/**',
61+
'github.com/aws/**',
62+
'github.com/Azure/**',
63+
'github.com/AzureAD/**',
64+
'github.com/cloudflare/**',
65+
'github.com/digitalocean/**',
6566
'google.golang.org/api',
6667
],
6768
},
@@ -71,8 +72,8 @@
7172
'gomod',
7273
],
7374
matchPackageNames: [
74-
'sigs.k8s.io**/**',
75-
'k8s.io**/**',
75+
'sigs.k8s.io/**',
76+
'k8s.io/**',
7677
],
7778
},
7879
{
@@ -81,7 +82,7 @@
8182
'gomod',
8283
],
8384
matchPackageNames: [
84-
'k8s.io**/**',
85+
'k8s.io/**',
8586
],
8687
matchUpdateTypes: [
8788
'patch',
@@ -96,7 +97,7 @@
9697
'gomod',
9798
],
9899
matchPackageNames: [
99-
'golang.org/x**/*',
100+
'golang.org/x/**',
100101
],
101102
addLabels: [
102103
'skip-review', // Adding label to allow PRs to automerge

0 commit comments

Comments
 (0)