Skip to content

Commit 2307472

Browse files
committed
add renovate.json
Signed-off-by: Riccardo Nalgi <riccardo.nalgi@secomind.com>
1 parent f6ce850 commit 2307472

File tree

1 file changed

+88
-0
lines changed

1 file changed

+88
-0
lines changed

renovate.json

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"description": "Renovate configuration for Astarte - Conflict-Free Elixir Monorepo",
4+
"extends": [
5+
"config:recommended",
6+
":rebaseStalePrs",
7+
":semanticCommits",
8+
"helpers:pinGitHubActionDigests"
9+
],
10+
11+
"configMigration": true,
12+
"dependencyDashboard": true,
13+
"dependencyDashboardApproval": false,
14+
"prCreation": "not-pending",
15+
"rebaseWhen": "conflicted",
16+
"platformAutomerge": true,
17+
"automergeType": "branch",
18+
"rangeStrategy": "update-lockfile",
19+
"internalChecksFilter": "strict",
20+
21+
"timezone": "UTC",
22+
"labels": ["renovate"],
23+
"separateMajorMinor": true,
24+
"separateMinorPatch": false,
25+
"prConcurrentLimit": 2,
26+
"prHourlyLimit": 1,
27+
28+
"vulnerabilityAlerts": {
29+
"enabled": true,
30+
"labels": ["security"],
31+
"automerge": false
32+
},
33+
34+
"lockFileMaintenance": {
35+
"enabled": true,
36+
"schedule": ["before 9am on the first day of the month"]
37+
},
38+
39+
"packageRules": [
40+
{
41+
"description": "Disable Docker updates",
42+
"matchDatasources": ["docker"],
43+
"enabled": false
44+
},
45+
{
46+
"description": "Use ci prefix for pin updates",
47+
"matchUpdateTypes": ["pin"],
48+
"commitMessage": "ci(deps): pin dependencies"
49+
},
50+
{
51+
"description": "Group all Elixir dependencies together (non-major)",
52+
"matchManagers": ["mix"],
53+
"matchUpdateTypes": ["patch", "minor"],
54+
"groupName": "Elixir dependencies (non-major)",
55+
"minimumReleaseAge": "3 days",
56+
"automerge": true,
57+
"labels": ["dependencies", "elixir", "automerge"],
58+
"schedule": ["before 6am on Monday"]
59+
},
60+
{
61+
"description": "Group all Elixir major updates separately",
62+
"matchManagers": ["mix"],
63+
"matchUpdateTypes": ["major"],
64+
"groupName": "Elixir dependencies",
65+
"dependencyDashboardApproval": true,
66+
"automerge": false,
67+
"labels": ["dependencies", "elixir", "major"]
68+
},
69+
{
70+
"description": "Automerge GitHub Actions (non-major)",
71+
"matchManagers": ["github-actions"],
72+
"matchUpdateTypes": ["patch", "minor", "digest"],
73+
"groupName": "GitHub Actions",
74+
"automerge": true,
75+
"labels": ["dependencies", "github-actions", "automerge"],
76+
"schedule": ["before 6am on Monday"]
77+
},
78+
{
79+
"description": "GitHub Actions major updates require approval",
80+
"matchManagers": ["github-actions"],
81+
"matchUpdateTypes": ["major"],
82+
"groupName": "GitHub Actions",
83+
"dependencyDashboardApproval": true,
84+
"automerge": false,
85+
"labels": ["dependencies", "github-actions", "major"]
86+
}
87+
]
88+
}

0 commit comments

Comments
 (0)