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"