Skip to content

Commit 1928fa7

Browse files
authored
[#2355] Hardened Renovate config with PR limits, GHA auto-merge and dashboard labels. (#2467)
1 parent ce417bc commit 1928fa7

5 files changed

Lines changed: 45 additions & 14 deletions

File tree

.vortex/docs/content/tools/renovate.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ Assignees can be configured in the `assignees` field.
2525
| **Container images** | All images in `.docker/` and `docker-compose.yml` | Major, minor, patch | Daily before 3 AM UTC |
2626
| **GitHub Actions** | All actions (pinned to digests) | Major, minor, patch | Daily before 3 AM UTC |
2727

28+
Updates in the **GitHub Actions** group are auto-merged after CI passes. This
29+
requires two repository settings:
30+
31+
1. **"Allow auto-merge"** enabled under *Settings > General > Pull Requests*.
32+
2. **"Require status checks to pass before merging"** configured in the base
33+
branch's branch protection rules, with at least one required status check
34+
selected - otherwise GitHub may merge even if CI is red.
35+
36+
All other groups open PRs for manual review.
37+
2838
### Disabled updates
2939

3040
These are intentionally skipped by Renovate — update them manually:
@@ -38,6 +48,17 @@ These are intentionally skipped by Renovate — update them manually:
3848
| JS language versions | `node`, `yarn` in `package.json` | Major version upgrades may introduce breaking changes |
3949
| JS non-root packages | Any `package.json` not at the root | Theme dependencies are managed separately |
4050

51+
### PR throughput and presentation
52+
53+
- **Concurrent PR limit:** `prConcurrentLimit: 10` - at most 10 open PRs
54+
across all groups at any time.
55+
- **Hourly PR limit:** `prHourlyLimit: 0` - no hourly cap; the per-group
56+
schedules above provide throttling.
57+
- **Commit body table:** `commitBodyTable: true` - grouped update commits
58+
include a version-comparison table in the commit message body.
59+
- **Dashboard labels:** the Renovate dependency dashboard issue is labeled
60+
`Dependencies` (`dependencyDashboardLabels`).
61+
4162
## Self-hosted vs GitHub app
4263

4364
Renovate can run as a hosted GitHub app or as a standalone self-hosted service

.vortex/installer/tests/Fixtures/handler_process/_baseline/renovate.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
23
"extends": [
34
"config:recommended"
45
],
56
"branchPrefix": "deps/",
67
"labels": [
78
"Dependencies"
89
],
9-
"assignees": [],
10-
"ignorePresets": [
11-
":prHourlyLimit2"
10+
"dependencyDashboardLabels": [
11+
"Dependencies"
1212
],
13+
"assignees": [],
14+
"prConcurrentLimit": 10,
15+
"prHourlyLimit": 0,
16+
"commitBodyTable": true,
1317
"rangeStrategy": "bump",
1418
"timezone": "UTC",
1519
"configMigration": true,
@@ -186,7 +190,8 @@
186190
"matchManagers": [
187191
"github-actions"
188192
],
189-
"pinDigests": true
193+
"pinDigests": true,
194+
"automerge": true
190195
}
191196
],
192197
"customManagers": [

.vortex/installer/tests/Fixtures/handler_process/timezone_circleci/renovate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@@ -11,7 +11,7 @@
2-
":prHourlyLimit2"
3-
],
1+
@@ -15,7 +15,7 @@
2+
"prHourlyLimit": 0,
3+
"commitBodyTable": true,
44
"rangeStrategy": "bump",
55
- "timezone": "UTC",
66
+ "timezone": "America/New_York",

.vortex/installer/tests/Fixtures/handler_process/timezone_gha/renovate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@@ -11,7 +11,7 @@
2-
":prHourlyLimit2"
3-
],
1+
@@ -15,7 +15,7 @@
2+
"prHourlyLimit": 0,
3+
"commitBodyTable": true,
44
"rangeStrategy": "bump",
55
- "timezone": "UTC",
66
+ "timezone": "America/New_York",

renovate.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
23
"extends": [
34
"config:recommended"
45
],
56
"branchPrefix": "deps/",
67
"labels": [
78
"Dependencies"
89
],
9-
"assignees": [],
10-
"ignorePresets": [
11-
":prHourlyLimit2"
10+
"dependencyDashboardLabels": [
11+
"Dependencies"
1212
],
13+
"assignees": [],
14+
"prConcurrentLimit": 10,
15+
"prHourlyLimit": 0,
16+
"commitBodyTable": true,
1317
"rangeStrategy": "bump",
1418
"timezone": "UTC",
1519
"configMigration": true,
@@ -189,7 +193,8 @@
189193
"matchManagers": [
190194
"github-actions"
191195
],
192-
"pinDigests": true
196+
"pinDigests": true,
197+
"automerge": true
193198
}
194199
],
195200
"customManagers": [

0 commit comments

Comments
 (0)