Skip to content

Commit 08e5ae1

Browse files
committed
add renovate configuration
1 parent 99f5a10 commit 08e5ae1

1 file changed

Lines changed: 121 additions & 0 deletions

File tree

renovate.json

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
6+
":semanticCommits",
7+
":semanticCommitsAll",
8+
":rebaseStalePrs",
9+
":prConcurrentLimit10",
10+
":prHourlyLimit4",
11+
":labels(renovate)",
12+
":disableRateLimiting"
13+
],
14+
15+
"timezone": "Etc/UTC",
16+
"assignees": [],
17+
"reviewers": [],
18+
"dependencyDashboard": true,
19+
"dependencyDashboardTitle": "Renovate Dashboard",
20+
21+
"enabledManagers": [
22+
"gomod",
23+
"npm",
24+
"dockerfile",
25+
"docker-compose",
26+
"github-actions"
27+
],
28+
29+
"npm": {
30+
"managerFilePatterns": [
31+
"/^frontend/package.json$/"
32+
]
33+
},
34+
35+
"ignorePaths": [
36+
"**/node_modules/**",
37+
"**/dist/**",
38+
"**/build/**",
39+
"**/public/**",
40+
"**/.svelte-kit/**",
41+
"**/sscm/**",
42+
"**/steamcmd/**",
43+
"**/Steam/**",
44+
"**/steamapps/**",
45+
"**/UIMod/**",
46+
"**/saves/**"
47+
],
48+
49+
"packageRules": [
50+
{
51+
"matchManagers": ["github-actions"],
52+
"groupName": "github-actions",
53+
"labels": ["ci", "renovate"],
54+
"automerge": true,
55+
"automergeType": "branch",
56+
"platformAutomerge": true
57+
},
58+
{
59+
"matchManagers": ["dockerfile", "docker-compose"],
60+
"groupName": "docker base images",
61+
"labels": ["docker", "renovate"],
62+
"pinDigests": true,
63+
"matchUpdateTypes": ["digest"],
64+
"automerge": true,
65+
"automergeType": "branch",
66+
"platformAutomerge": true
67+
},
68+
{
69+
"matchManagers": ["gomod"],
70+
"groupName": "go modules (minor/patch)",
71+
"labels": ["go", "renovate"],
72+
"matchUpdateTypes": ["minor", "patch"],
73+
"automerge": true,
74+
"automergeType": "branch",
75+
"platformAutomerge": true
76+
},
77+
{
78+
"matchManagers": ["gomod"],
79+
"groupName": "go modules (major)",
80+
"labels": ["go", "major"],
81+
"matchUpdateTypes": ["major"],
82+
"automerge": false
83+
},
84+
{
85+
"matchManagers": ["npm"],
86+
"matchFileNames": [
87+
"^frontend/"
88+
],
89+
"labels": ["frontend", "npm", "renovate"],
90+
"matchUpdateTypes": ["patch", "minor"],
91+
"groupName": "frontend deps (minor/patch)",
92+
"automerge": true,
93+
"automergeType": "branch",
94+
"platformAutomerge": true
95+
},
96+
{
97+
"matchManagers": ["npm"],
98+
"matchFileNames": [
99+
"^frontend/"
100+
],
101+
"labels": ["frontend", "npm", "major"],
102+
"matchUpdateTypes": ["major"],
103+
"groupName": "frontend deps (major)",
104+
"automerge": false
105+
},
106+
{
107+
"matchPackageNames": [
108+
"golang.org/x/*",
109+
"github.com/golang/*",
110+
"github.com/sirupsen/logrus",
111+
"github.com/bwmarrin/discordgo"
112+
],
113+
"labels": ["go", "important"],
114+
"separateMinorPatch": false
115+
}
116+
],
117+
118+
"prCreation": "not-pending",
119+
"minimumReleaseAge": "2 days",
120+
"commitBodyTable": true
121+
}

0 commit comments

Comments
 (0)