From af9f1d558cee61fa7750c7854f3bc4d463faf9b0 Mon Sep 17 00:00:00 2001 From: Nam Rodriguez Date: Tue, 1 Dec 2026 10:24:31 -0500 Subject: [PATCH] Dependabot: one weekly pull request per ecosystem for minor updates and one for majors Minor and patch updates are one group per ecosystem, majors another, each across every directory, with at most three open pull requests per ecosystem. Every Dependabot pull request carries ch-review, so CoderHelm reviews it: the repository reviews labelled pull requests only. The TypeScript 7 and ESLint 10 majors are ignored, each with the reason, until the tools they depend on support them. --- .github/dependabot.yml | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9b4acda5..13fd9683 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,17 +1,26 @@ # Every manifest in the repository, so a security alert on any of them comes -# with a pull request, and versions stay current. Each update is a PR that -# goes through CI and review like any change; groups keep it to about one PR -# per ecosystem a week. Actions stay SHA-pinned: an update moves the commit -# SHA and its "# vX.Y.Z" comment together. +# with a pull request, and versions stay current. Actions stay SHA-pinned: an +# update moves the commit SHA and its "# vX.Y.Z" comment together. +# +# At most one weekly pull request per ecosystem for minor and patch updates, +# and one for major updates, each covering every directory. Security updates +# come in their own group as alerts arrive. Each pull request carries the +# review label, so CoderHelm reviews it like any other change. version: 2 updates: - package-ecosystem: github-actions directory: / schedule: interval: weekly + open-pull-requests-limit: 3 + labels: ["dependencies", "github_actions", "ch-review"] groups: - actions: + actions-minor: patterns: ["*"] + update-types: ["minor", "patch"] + actions-major: + patterns: ["*"] + update-types: ["major"] commit-message: prefix: "ci" @@ -24,13 +33,30 @@ updates: - /infra schedule: interval: weekly - open-pull-requests-limit: 5 + open-pull-requests-limit: 3 + labels: ["dependencies", "javascript", "ch-review"] groups: npm-minor: patterns: ["*"] update-types: ["minor", "patch"] + npm-major: + patterns: ["*"] + update-types: ["major"] npm-security: applies-to: security-updates patterns: ["*"] + ignore: + # TypeScript 7 is the native compiler and ships no compiler API yet: + # Next.js type-checks with that API (the dashboard build fails), + # typescript-eslint supports TypeScript below 6.1 (the site's lint + # fails), and the CDK app runs through ts-node. Moving to it is its own + # change. + - dependency-name: "typescript" + update-types: ["version-update:semver-major"] + # ESLint 10: the import, jsx-a11y and react plugins that + # eslint-config-next brings declare ESLint 9 at most. Upgrade once they + # support it. + - dependency-name: "eslint" + update-types: ["version-update:semver-major"] commit-message: prefix: "deps"