Skip to content

Commit 01dd1f4

Browse files
committed
use shared renovate config file
1 parent 7780521 commit 01dd1f4

1 file changed

Lines changed: 4 additions & 30 deletions

File tree

renovate.json5

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,19 @@
11
// configuration options: https://docs.renovatebot.com/configuration-options/
2-
// list of all presets: https://docs.renovatebot.com/presets-default/
2+
//
3+
// Base config (automerge/squash/dashboard, patch-automerge, minor-PR,
4+
// major-approval) is shared from e2b-dev/renovate.
35
{
46
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
5-
extends: ['config:recommended', ':automergeRequireAllStatusChecks'],
6-
dependencyDashboard: true,
7-
// let it fly for now, we've got a lot to catch up on
8-
// schedule: [
9-
// "0 * * * *"
10-
// ],
11-
timezone: 'UTC',
7+
extends: ['local>e2b-dev/renovate'],
128
// Keep in sync with `minimumReleaseAge` in pnpm-workspace.yaml (4320 minutes),
139
// otherwise Renovate proposes versions pnpm then refuses to install.
1410
minimumReleaseAge: '3 days',
15-
// Always squash PRs when automerging
16-
automergeType: 'pr',
17-
automergeStrategy: 'squash',
1811
packageRules: [
1912
{
2013
// Keep in sync with `minimumReleaseAgeExclude` in pnpm-workspace.yaml.
2114
description: 'e2b is our own SDK, so it skips the minimum release age',
2215
matchPackageNames: ['e2b'],
2316
minimumReleaseAge: null,
2417
},
25-
{
26-
description: 'Group and automerge patch updates after CI passes',
27-
matchUpdateTypes: ['patch'],
28-
automerge: true,
29-
groupName: 'patch-updates',
30-
},
31-
{
32-
description: 'Create PRs for minor updates without automerge',
33-
matchUpdateTypes: ['minor'],
34-
automerge: false,
35-
},
36-
{
37-
description: 'Require dashboard approval for major updates',
38-
matchUpdateTypes: ['major'],
39-
dependencyDashboardApproval: true,
40-
automerge: false,
41-
},
4218
],
43-
prConcurrentLimit: 3,
44-
rebaseWhen: 'auto',
4519
}

0 commit comments

Comments
 (0)