From 66610056fe05539b62d5a68e240a20766890b284 Mon Sep 17 00:00:00 2001 From: Joe Lombrozo Date: Mon, 10 Aug 2026 10:32:31 -0700 Subject: [PATCH] chore: extend shared e2b-dev/renovate preset Replace the inlined Renovate config with the shared preset from e2b-dev/renovate, keeping only the repo-specific overrides (minimumReleaseAge and the e2b package rule). --- renovate.json5 | 47 +++++++++-------------------------------------- 1 file changed, 9 insertions(+), 38 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index 1e0185a..76f72ec 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,49 +1,20 @@ // configuration options: https://docs.renovatebot.com/configuration-options/ -// list of all presets: https://docs.renovatebot.com/presets-default/ +// +// Base config (config:recommended, automerge/squash, dependency dashboard, +// patch-automerge, minor-PR, major-approval, GitHub Actions SHA-pinning) is +// shared from e2b-dev/renovate. { $schema: 'https://docs.renovatebot.com/renovate-schema.json', - extends: [ - 'config:recommended', - ':automergeRequireAllStatusChecks', - // keep GitHub Actions pinned to commit SHAs (supply-chain hardening) - 'helpers:pinGitHubActionDigests', - ], - dependencyDashboard: true, - // let it fly for now, we've got a lot to catch up on - // schedule: [ - // "0 * * * *" - // ], - timezone: 'UTC', - // Match `minimumReleaseAge` in pnpm-workspace.yaml — Renovate must not propose - // versions that pnpm would refuse to install. + extends: ['local>e2b-dev/renovate'], + // Keep in sync with `minimumReleaseAge` in pnpm-workspace.yaml (4320 minutes), + // otherwise Renovate proposes versions pnpm then refuses to install. minimumReleaseAge: '3 days', - // Always squash PRs when automerging - automergeType: 'pr', - automergeStrategy: 'squash', packageRules: [ { - description: 'Our own package — no release-age delay, mirrors minimumReleaseAgeExclude in pnpm-workspace.yaml', + // Keep in sync with `minimumReleaseAgeExclude` in pnpm-workspace.yaml. + description: 'e2b is our own SDK, so it skips the minimum release age', matchPackageNames: ['e2b'], minimumReleaseAge: null, }, - { - description: 'Group and automerge patch updates after CI passes', - matchUpdateTypes: ['patch'], - automerge: true, - groupName: 'patch-updates', - }, - { - description: 'Create PRs for minor updates without automerge', - matchUpdateTypes: ['minor'], - automerge: false, - }, - { - description: 'Require dashboard approval for major updates', - matchUpdateTypes: ['major'], - dependencyDashboardApproval: true, - automerge: false, - }, ], - prConcurrentLimit: 3, - rebaseWhen: 'auto', }