Skip to content

Commit 074d876

Browse files
committed
renovate: clean up configuration
The only direct dependency in go.mod is github.com/cilium/cilium which is updated manually before release (see #2951). The Go version in go.mod is already excluded from being updated by renovate and because there are no other modules to update anymore we can omit go.mod from being updated by renovate altogether. Also remove some leftover configuration that no longer applies as a result of the merge of cilium-cli into github.com/cilium/cilium. Signed-off-by: Tobias Klauser <[email protected]>
1 parent 85f9c73 commit 074d876

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

.github/renovate.json5

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@
1111
includePaths: [
1212
'.github/workflows/**',
1313
'action.yaml',
14-
'defaults/defaults.go',
15-
'go.mod',
16-
'go.sum',
1714
'Dockerfile',
1815
'Makefile',
1916
],
20-
postUpdateOptions: [
21-
'gomodTidy',
22-
],
2317
pinDigests: true,
2418
ignorePresets: [
2519
':prHourlyLimit2',
@@ -57,25 +51,6 @@
5751
'pinDigest',
5852
],
5953
},
60-
{
61-
// Avoid updating patch releases of golang in go.mod
62-
enabled: 'false',
63-
matchFileNames: [
64-
'go.mod',
65-
],
66-
matchDepNames: [
67-
'go',
68-
],
69-
matchDatasources: [
70-
'golang-version',
71-
],
72-
matchUpdateTypes: [
73-
'patch',
74-
],
75-
matchBaseBranches: [
76-
'main',
77-
],
78-
},
7954
{
8055
// Images that directly use docker.io/library/golang for building.
8156
groupName: 'golang-images',
@@ -139,14 +114,5 @@
139114
'# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.+_VERSION = (?<currentValue>.*)\\s+.+_SHA = (?<currentDigest>sha256:[a-f0-9]+)',
140115
],
141116
},
142-
{
143-
customType: 'regex',
144-
fileMatch: [
145-
'^go\\.mod$',
146-
],
147-
matchStrings: [
148-
'// renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+go (?<currentValue>.*)',
149-
],
150-
},
151117
],
152118
}

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module github.com/cilium/cilium-cli
22

3-
// renovate: datasource=golang-version depName=go
43
go 1.23.0
54

65
// Replace directives from github.com/cilium/cilium. Keep in sync when updating Cilium!

0 commit comments

Comments
 (0)