Skip to content

Commit f3cb31f

Browse files
committed
Improve Renovate GitHub Go dependency regex matching
1 parent 7663170 commit f3cb31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{
1717
"fileMatch": ["^mise\\.toml$"],
1818
"matchStrings": [
19-
"\"go:(?<depName>[^\"]+)\"\\s*=\\s*\"(?<currentValue>[^\"]+)\""
19+
"\"go:github\\.com/(?<depName>[^/]+/[^/]+)(?:/[^\"]+)?\"\\s*=\\s*\"(?<currentValue>[^\"]+)\""
2020
],
2121
"datasourceTemplate": "github-tags",
2222
"extractVersionTemplate": "^v(?<version>.*)$"

0 commit comments

Comments
 (0)