Skip to content

Commit 748b879

Browse files
chore(config): migrate config renovate.json5 (#1002)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent c54b81d commit 748b879

1 file changed

Lines changed: 22 additions & 15 deletions

File tree

renovate.json5

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,34 @@
11
{
2-
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3-
extends: ["config:best-practices"],
4-
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'config:best-practices',
5+
],
56
postUpdateOptions: [
6-
"gomodTidy", // Run go mod tidy after Go module updates.
7+
'gomodTidy',
78
],
8-
99
customManagers: [
10-
// Update Makefile's go dependencies
1110
{
12-
customType: "regex",
13-
fileMatch: ["^Makefile$"],
14-
matchStrings: ["go run (?<depName>.*?)@(?<currentValue>.*?) "],
15-
datasourceTemplate: "go",
11+
customType: 'regex',
12+
managerFilePatterns: [
13+
'/^Makefile$/',
14+
],
15+
matchStrings: [
16+
'go run (?<depName>.*?)@(?<currentValue>.*?) ',
17+
],
18+
datasourceTemplate: 'go',
1619
},
1720
],
18-
1921
packageRules: [
20-
// Group all patch updates into a single PR
2122
{
22-
groupName: "all patch and minor",
23-
matchPackageNames: ["*"],
24-
matchUpdateTypes: ["minor", "patch", "digest"],
23+
groupName: 'all patch and minor',
24+
matchPackageNames: [
25+
'*',
26+
],
27+
matchUpdateTypes: [
28+
'minor',
29+
'patch',
30+
'digest',
31+
],
2532
automerge: true,
2633
},
2734
],

0 commit comments

Comments
 (0)