Skip to content

Commit 24f4d7e

Browse files
committed
ci(renovate): enable automerge for dependency updates
1 parent 21c0aa7 commit 24f4d7e

File tree

1 file changed

+60
-82
lines changed

1 file changed

+60
-82
lines changed

.github/renovate.json5

Lines changed: 60 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,62 @@
11
{
2-
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3-
extends: [
4-
'config:recommended',
5-
'schedule:weekly',
6-
],
7-
ignorePaths: [
8-
'**/tests/**',
9-
'**/node_modules/**',
10-
],
11-
packageRules: [
12-
{
13-
semanticCommitType: 'chore',
14-
rangeStrategy: 'bump',
15-
matchPackageNames: [
16-
'*',
17-
],
18-
},
19-
{
20-
groupName: 'rspack',
21-
groupSlug: 'rspack',
22-
matchPackageNames: [
23-
'/rspack/',
24-
],
25-
},
26-
{
27-
groupName: 'rsbuild',
28-
groupSlug: 'rsbuild',
29-
matchPackageNames: [
30-
'/rsbuild/',
31-
],
32-
},
33-
{
34-
groupName: 'rspress',
35-
groupSlug: 'rspress',
36-
matchPackageNames: [
37-
'/rspress/',
38-
],
39-
},
40-
{
41-
groupName: 'rsdoctor',
42-
groupSlug: 'rsdoctor',
43-
matchPackageNames: [
44-
'/rsdoctor/',
45-
],
46-
},
47-
{
48-
groupName: 'types',
49-
groupSlug: 'types',
50-
matchPackageNames: [
51-
'/^@types//',
52-
],
53-
},
54-
{
55-
groupName: 'all non-major dependencies',
56-
groupSlug: 'all-non-major',
57-
matchUpdateTypes: [
58-
'patch',
59-
'minor',
60-
],
61-
matchPackageNames: [
62-
'*',
63-
],
64-
},
65-
{
66-
matchDepTypes: [
67-
'peerDependencies',
68-
],
69-
enabled: false,
70-
},
71-
],
72-
ignoreDeps: [
73-
'vue',
74-
'vue-loader',
75-
'globby',
76-
'open',
77-
'strip-ansi',
78-
'ansi-escapes',
79-
'cli-truncate',
80-
'patch-console',
81-
'babel-plugin-react-compiler',
82-
'@tailwindcss/postcss',
83-
],
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
automerge: true,
4+
automergeType: "pr",
5+
automergeSchedule: ["at any time"],
6+
extends: ["config:recommended", "schedule:weekly"],
7+
ignorePaths: ["**/tests/**", "**/node_modules/**"],
8+
packageRules: [
9+
{
10+
semanticCommitType: "chore",
11+
rangeStrategy: "bump",
12+
matchPackageNames: ["*"],
13+
},
14+
{
15+
groupName: "rspack",
16+
groupSlug: "rspack",
17+
matchPackageNames: ["/rspack/"],
18+
},
19+
{
20+
groupName: "rsbuild",
21+
groupSlug: "rsbuild",
22+
matchPackageNames: ["/rsbuild/"],
23+
},
24+
{
25+
groupName: "rspress",
26+
groupSlug: "rspress",
27+
matchPackageNames: ["/rspress/"],
28+
},
29+
{
30+
groupName: "rsdoctor",
31+
groupSlug: "rsdoctor",
32+
matchPackageNames: ["/rsdoctor/"],
33+
},
34+
{
35+
groupName: "types",
36+
groupSlug: "types",
37+
matchPackageNames: ["/^@types//"],
38+
},
39+
{
40+
groupName: "all non-major dependencies",
41+
groupSlug: "all-non-major",
42+
matchUpdateTypes: ["patch", "minor"],
43+
matchPackageNames: ["*"],
44+
},
45+
{
46+
matchDepTypes: ["peerDependencies"],
47+
enabled: false,
48+
},
49+
],
50+
ignoreDeps: [
51+
"vue",
52+
"vue-loader",
53+
"globby",
54+
"open",
55+
"strip-ansi",
56+
"ansi-escapes",
57+
"cli-truncate",
58+
"patch-console",
59+
"babel-plugin-react-compiler",
60+
"@tailwindcss/postcss",
61+
],
8462
}

0 commit comments

Comments
 (0)