Skip to content

Commit b556d2d

Browse files
authored
Configure renovate to update Go version in go.mod (#18)
1 parent 313f81e commit b556d2d

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/stacklok/toolhive-core
22

3-
go 1.25.6
3+
go 1.25.7
44

55
require (
66
github.com/google/cel-go v0.27.0

renovate.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,15 @@
66
":semanticCommitsDisabled"
77
],
88
"labels": ["dependencies"],
9-
"postUpdateOptions": ["gomodTidy"]
9+
"postUpdateOptions": ["gomodTidy"],
10+
"customManagers": [
11+
{
12+
"customType": "regex",
13+
"fileMatch": ["(^|/)go\\.mod$"],
14+
"matchStrings": ["go (?<currentValue>\\d+\\.\\d+(\\.\\d+)?)"],
15+
"depNameTemplate": "golang",
16+
"datasourceTemplate": "golang-version",
17+
"versioningTemplate": "loose"
18+
}
19+
]
1020
}

0 commit comments

Comments
 (0)