|
1 | 1 | // 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. |
3 | 5 | { |
4 | 6 | $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'], |
12 | 8 | // Keep in sync with `minimumReleaseAge` in pnpm-workspace.yaml (4320 minutes), |
13 | 9 | // otherwise Renovate proposes versions pnpm then refuses to install. |
14 | 10 | minimumReleaseAge: '3 days', |
15 | | - // Always squash PRs when automerging |
16 | | - automergeType: 'pr', |
17 | | - automergeStrategy: 'squash', |
18 | 11 | packageRules: [ |
19 | 12 | { |
20 | 13 | // Keep in sync with `minimumReleaseAgeExclude` in pnpm-workspace.yaml. |
21 | 14 | description: 'e2b is our own SDK, so it skips the minimum release age', |
22 | 15 | matchPackageNames: ['e2b'], |
23 | 16 | minimumReleaseAge: null, |
24 | 17 | }, |
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 | | - }, |
42 | 18 | ], |
43 | | - prConcurrentLimit: 3, |
44 | | - rebaseWhen: 'auto', |
45 | 19 | } |
0 commit comments