Skip to content

Commit f0c2afe

Browse files
authored
Merge pull request #1510 from naymspace/feature/renovate-rebase-behind-base-branch
Configure renovate to rebase when behind base branch
2 parents 0a4c43d + f650a39 commit f0c2afe

File tree

1 file changed

+17
-62
lines changed

1 file changed

+17
-62
lines changed

.github/renovate.json

Lines changed: 17 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -12,63 +12,41 @@
1212
":automergePatch",
1313
"helpers:pinGitHubActionDigestsToSemver"
1414
],
15+
"rebaseWhen": "behind-base-branch",
1516
"pinDigests": false,
1617
"lockFileMaintenance": {
1718
"enabled": true,
18-
"extends": [
19-
"schedule:weekly"
20-
]
19+
"extends": ["schedule:weekly"]
2120
},
2221
"additionalBranchPrefix": "{{packageFileDir}}-",
2322
"packageRules": [
2423
{
2524
"description": "Set Mix versioning strategy to update-lockfile",
26-
"matchManagers": [
27-
"mix"
28-
],
25+
"matchManagers": ["mix"],
2926
"rangeStrategy": "update-lockfile"
3027
},
3128
{
3229
"description": "Group dependency updates to the Elixir base image",
3330
"groupName": "Base Image",
34-
"matchDepNames": [
35-
"erlang",
36-
"elixir",
37-
"ubuntu"
38-
],
31+
"matchDepNames": ["erlang", "elixir", "ubuntu"],
3932
"pinDigests": false
4033
},
4134
{
4235
"description": "Disable ubuntu major updates",
43-
"matchDatasources": [
44-
"docker"
45-
],
46-
"matchDepNames": [
47-
"ubuntu"
48-
],
49-
"matchUpdateTypes": [
50-
"major"
51-
],
36+
"matchDatasources": ["docker"],
37+
"matchDepNames": ["ubuntu"],
38+
"matchUpdateTypes": ["major"],
5239
"enabled": false
5340
},
5441
{
5542
"description": "Disable automerge for docker data source",
56-
"matchDatasources": [
57-
"docker"
58-
],
43+
"matchDatasources": ["docker"],
5944
"automerge": true
6045
},
6146
{
6247
"description": "Automatically merge non-major github actions updates",
63-
"matchManagers": [
64-
"github-actions"
65-
],
66-
"matchUpdateTypes": [
67-
"minor",
68-
"patch",
69-
"pin",
70-
"pinDigest"
71-
],
48+
"matchManagers": ["github-actions"],
49+
"matchUpdateTypes": ["minor", "patch", "pin", "pinDigest"],
7250
"automerge": true
7351
},
7452
{
@@ -82,43 +60,20 @@
8260
"topbar",
8361
"npm-run-all2"
8462
],
85-
"matchDatasources": [
86-
"npm"
87-
],
88-
"matchUpdateTypes": [
89-
"minor",
90-
"patch"
91-
],
63+
"matchDatasources": ["npm"],
64+
"matchUpdateTypes": ["minor", "patch"],
9265
"automerge": true
9366
},
9467
{
9568
"description": "Label dependency updates in demo directory",
96-
"matchFileNames": [
97-
"demo/**",
98-
"Dockerfile",
99-
"compose.yml"
100-
],
101-
"labels": [
102-
"ignore-for-release",
103-
"demo",
104-
"dependencies",
105-
"{{categories}}"
106-
]
69+
"matchFileNames": ["demo/**", "Dockerfile", "compose.yml"],
70+
"labels": ["ignore-for-release", "demo", "dependencies", "{{categories}}"]
10771
},
10872
{
10973
"description": "Label dependency updates in ci.yml",
110-
"matchFileNames": [
111-
".github/workflows/ci.yml"
112-
],
113-
"labels": [
114-
"ignore-for-release",
115-
"dependencies",
116-
"{{categories}}"
117-
]
74+
"matchFileNames": [".github/workflows/ci.yml"],
75+
"labels": ["ignore-for-release", "dependencies", "{{categories}}"]
11876
}
11977
],
120-
"labels": [
121-
"dependencies",
122-
"{{categories}}"
123-
]
78+
"labels": ["dependencies", "{{categories}}"]
12479
}

0 commit comments

Comments
 (0)