Skip to content

Commit 4dae9ae

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

File tree

1 file changed

+93
-0
lines changed

1 file changed

+93
-0
lines changed

renovate.json

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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": "Prefix GitHub Actions updates with ci(deps)",
44+
"matchManagers": ["github-actions"],
45+
"semanticCommitType": "ci",
46+
"semanticCommitScope": "deps"
47+
},
48+
{
49+
"description": "Prefix Elixir updates with build(deps)",
50+
"matchManagers": ["mix"],
51+
"semanticCommitType": "build",
52+
"semanticCommitScope": "deps"
53+
},
54+
{
55+
"description": "Group all Elixir dependencies together (non-major)",
56+
"matchManagers": ["mix"],
57+
"matchUpdateTypes": ["patch", "minor"],
58+
"groupName": "Elixir dependencies (non-major)",
59+
"minimumReleaseAge": "3 days",
60+
"automerge": true,
61+
"labels": ["dependencies", "elixir", "automerge"],
62+
"schedule": ["before 6am on Monday"]
63+
},
64+
{
65+
"description": "Group all Elixir major updates separately",
66+
"matchManagers": ["mix"],
67+
"matchUpdateTypes": ["major"],
68+
"groupName": "Elixir dependencies",
69+
"dependencyDashboardApproval": true,
70+
"automerge": false,
71+
"labels": ["dependencies", "elixir", "major"],
72+
73+
},
74+
{
75+
"description": "Automerge GitHub Actions (non-major)",
76+
"matchManagers": ["github-actions"],
77+
"matchUpdateTypes": ["patch", "minor", "digest"],
78+
"groupName": "GitHub Actions (non-major)",
79+
"automerge": true,
80+
"labels": ["dependencies", "github-actions", "automerge"],
81+
"schedule": ["before 6am on Monday"]
82+
},
83+
{
84+
"description": "GitHub Actions major updates require approval",
85+
"matchManagers": ["github-actions"],
86+
"matchUpdateTypes": ["major"],
87+
"groupName": "GitHub Actions",
88+
"dependencyDashboardApproval": true,
89+
"automerge": false,
90+
"labels": ["dependencies", "github-actions", "major"]
91+
}
92+
]
93+
}

0 commit comments

Comments
 (0)