Skip to content

Commit cba3950

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

File tree

1 file changed

+98
-0
lines changed

1 file changed

+98
-0
lines changed

renovate.json

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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+
"prCreation": "not-pending",
13+
"rebaseWhen": "conflicted",
14+
"platformAutomerge": true,
15+
"automergeType": "branch",
16+
"rangeStrategy": "update-lockfile",
17+
"internalChecksFilter": "strict",
18+
19+
"timezone": "UTC",
20+
"labels": ["renovate"],
21+
"separateMajorMinor": true,
22+
"separateMinorPatch": false,
23+
"prConcurrentLimit": 2,
24+
"prHourlyLimit": 0,
25+
26+
"vulnerabilityAlerts": {
27+
"enabled": true,
28+
"labels": ["security"],
29+
"automerge": false
30+
},
31+
32+
"lockFileMaintenance": {
33+
"enabled": true,
34+
"schedule": ["before 9am on the first day of the month"]
35+
},
36+
37+
"packageRules": [
38+
{
39+
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
40+
"automerge": true
41+
},
42+
{
43+
"description": "Disable Docker updates",
44+
"matchDatasources": ["docker"],
45+
"enabled": false
46+
},
47+
{
48+
"description": "Prefix GitHub Actions updates with ci(deps)",
49+
"matchManagers": ["github-actions"],
50+
"semanticCommitType": "ci",
51+
"semanticCommitScope": "deps"
52+
},
53+
{
54+
"description": "Prefix Elixir updates with build(deps)",
55+
"matchManagers": ["mix"],
56+
"semanticCommitType": "build",
57+
"semanticCommitScope": "deps"
58+
},
59+
{
60+
"description": "Group all Elixir dependencies together (non-major)",
61+
"matchManagers": ["mix"],
62+
"matchUpdateTypes": ["patch", "minor"],
63+
"groupName": "Elixir dependencies (non-major)",
64+
"minimumReleaseAge": "3 days",
65+
"automerge": true,
66+
"labels": ["dependencies", "elixir", "automerge"],
67+
"schedule": ["before 6am on Monday"]
68+
},
69+
{
70+
"description": "Group all Elixir major updates separately",
71+
"matchManagers": ["mix"],
72+
"matchUpdateTypes": ["major"],
73+
"groupName": "Elixir dependencies",
74+
"dependencyDashboardApproval": true,
75+
"automerge": false,
76+
"labels": ["dependencies", "elixir", "major"],
77+
78+
},
79+
{
80+
"description": "Automerge GitHub Actions (non-major)",
81+
"matchManagers": ["github-actions"],
82+
"matchUpdateTypes": ["patch", "minor", "digest"],
83+
"groupName": "GitHub Actions (non-major)",
84+
"automerge": true,
85+
"labels": ["dependencies", "github-actions", "automerge"],
86+
"schedule": ["before 6am on Monday"]
87+
},
88+
{
89+
"description": "GitHub Actions major updates require approval",
90+
"matchManagers": ["github-actions"],
91+
"matchUpdateTypes": ["major"],
92+
"groupName": "GitHub Actions",
93+
"dependencyDashboardApproval": true,
94+
"automerge": false,
95+
"labels": ["dependencies", "github-actions", "major"]
96+
}
97+
]
98+
}

0 commit comments

Comments
 (0)