Skip to content

Commit ba1e9b6

Browse files
committed
chore: upgrade renovate config with automerge + dashboard
1 parent 91bd873 commit ba1e9b6

1 file changed

Lines changed: 33 additions & 11 deletions

File tree

renovate.json

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,40 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:recommended"],
4-
"schedule": ["on the first day of the month"],
5-
"groupName": "all-dependencies",
6-
"groupSlug": "all",
3+
"extends": ["config:recommended", ":dependencyDashboard"],
4+
"timezone": "Asia/Kolkata",
5+
"schedule": ["before 3am on monday"],
6+
"prHourlyLimit": 2,
7+
"prConcurrentLimit": 3,
8+
"rangeStrategy": "replace",
79
"packageRules": [
810
{
9-
"matchPackagePatterns": ["*"],
10-
"groupName": "all-dependencies",
11-
"groupSlug": "all"
11+
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
12+
"automerge": true,
13+
"automergeType": "pr",
14+
"automergeStrategy": "squash",
15+
"groupName": "non-major weekly",
16+
"labels": ["dependencies", "auto-merge"]
17+
},
18+
{
19+
"matchUpdateTypes": ["major"],
20+
"groupName": "major updates",
21+
"labels": ["dependencies", "major"],
22+
"dependencyDashboardApproval": true
23+
},
24+
{
25+
"matchDatasources": ["docker"],
26+
"groupName": "docker",
27+
"schedule": ["before 3am on monday"]
28+
},
29+
{
30+
"matchCategories": ["lock-file-maintenance"],
31+
"schedule": ["before 3am on monday"],
32+
"automerge": true
1233
}
1334
],
14-
"prCreation": "not-pending",
15-
"prHourlyLimit": 1,
16-
"prConcurrentLimit": 1,
17-
"automerge": false
35+
"vulnerabilityAlerts": {
36+
"enabled": true,
37+
"labels": ["security"],
38+
"schedule": ["at any time"]
39+
}
1840
}

0 commit comments

Comments
 (0)