Skip to content

Commit 9ded7a0

Browse files
Merge pull request #116 from erikgb/renovate-preset
Bootstrap shared Renovate preset
2 parents a686e77 + 133b412 commit 9ded7a0

File tree

1 file changed

+1
-160
lines changed

1 file changed

+1
-160
lines changed

.github/renovate.json5

Lines changed: 1 addition & 160 deletions
Original file line numberDiff line numberDiff line change
@@ -1,165 +1,6 @@
1-
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
2-
// Edit https://github.com/cert-manager/makefile-modules/blob/main/modules/repository-base/base/.github/renovate.json5 instead.
3-
41
{
52
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
6-
enabled: true,
7-
gitAuthor: 'Renovate Bot <[email protected]>',
8-
gitIgnoredAuthors: [
9-
'157150467+octo-sts[bot]@users.noreply.github.com',
10-
],
11-
enabledManagers: [
12-
'github-actions',
13-
'gomod',
14-
],
153
extends: [
16-
'config:best-practices',
17-
':gitSignOff',
18-
':semanticCommits',
19-
':disableVulnerabilityAlerts',
20-
':rebaseStalePrs',
21-
':prConcurrentLimit10', // Set a limit to avoid too many PRs, at least on the first run
22-
':prHourlyLimitNone',
23-
],
24-
timezone: 'Europe/London',
25-
labels: [
26-
'dependencies',
27-
'kind/cleanup',
28-
'ok-to-test',
29-
'release-note-none',
30-
],
31-
// packageRules uses globs for matchPackageNames. Some packages have a separate major version i.e. /v on them which is when we would need package**/**.
32-
packageRules: [
33-
{
34-
groupName: 'Misc GitHub actions',
35-
matchManagers: [
36-
'github-actions',
37-
],
38-
},
39-
{
40-
matchManagers: [
41-
'gomod',
42-
],
43-
postUpgradeTasks: {
44-
commands: [
45-
'make vendor-go generate',
46-
],
47-
executionMode: 'branch',
48-
}
49-
},
50-
{
51-
groupName: 'Misc Go deps',
52-
matchManagers: [
53-
'gomod',
54-
],
55-
matchUpdateTypes: [
56-
'minor',
57-
'patch',
58-
],
59-
},
60-
{
61-
groupName: 'Testing Go deps',
62-
matchManagers: [
63-
'gomod',
64-
],
65-
matchPackageNames: [
66-
'github.com/onsi/ginkgo/**',
67-
'github.com/onsi/gomega',
68-
'github.com/stretchr/testify',
69-
],
70-
matchUpdateTypes: [
71-
'minor',
72-
'patch',
73-
]
74-
},
75-
{
76-
groupName: 'Cloud Go deps',
77-
matchManagers: [
78-
'gomod',
79-
],
80-
matchPackageNames: [
81-
'github.com/akamai/**',
82-
'github.com/aws/**',
83-
'github.com/Azure/**',
84-
'github.com/AzureAD/**',
85-
'github.com/cloudflare/**',
86-
'github.com/digitalocean/**',
87-
'google.golang.org/api',
88-
],
89-
matchUpdateTypes: [
90-
'minor',
91-
'patch',
92-
]
93-
},
94-
{
95-
groupName: 'Kubernetes Go deps',
96-
matchManagers: [
97-
'gomod',
98-
],
99-
matchPackageNames: [
100-
'sigs.k8s.io/**',
101-
'k8s.io/**',
102-
],
103-
matchUpdateTypes: [
104-
'minor',
105-
'patch',
106-
]
107-
},
108-
{
109-
groupName: 'Kubernetes Go patches',
110-
matchManagers: [
111-
'gomod',
112-
],
113-
matchPackageNames: [
114-
'k8s.io/**',
115-
],
116-
matchUpdateTypes: [
117-
'patch',
118-
],
119-
addLabels: [
120-
'skip-review', // Adding label to allow PRs to automerge
121-
]
122-
},
123-
{
124-
groupName: 'golang.org/x deps',
125-
matchManagers: [
126-
'gomod',
127-
],
128-
matchPackageNames: [
129-
'golang.org/x/**',
130-
],
131-
addLabels: [
132-
'skip-review', // Adding label to allow PRs to automerge
133-
],
134-
},
135-
{
136-
matchManagers: [
137-
'gomod',
138-
],
139-
matchUpdateTypes: [
140-
'major',
141-
'digest',
142-
],
143-
dependencyDashboardApproval: true
144-
},
145-
{
146-
description: 'Disable (internal) cert-manager pseudo-version updates',
147-
matchManagers: [
148-
'gomod',
149-
],
150-
matchPackageNames: [
151-
'github.com/cert-manager/**',
152-
],
153-
matchCurrentValue: 'v0.0.0*',
154-
enabled: false,
155-
},
156-
],
157-
ignorePaths: [
158-
'**/vendor/**',
159-
// Exclude files that are mastered from makefile-modules and shouldn't be upgraded in projects using makefile-modules.
160-
'make/_shared/**',
161-
'.github/workflows/govulncheck.yaml',
162-
'.github/workflows/make-self-upgrade.yaml',
163-
'.github/workflows/renovate.yaml',
4+
'github>cert-manager/renovate-config:default.json5',
1645
],
1656
}

0 commit comments

Comments
 (0)