AI / Dependabot Interview questions
How do you configure Dependabot to update only patch and minor versions, not major?
Combining the ignore option with a wildcard dependency name and specifically targeting the
major update type is the standard pattern for this — applying the restriction across every dependency in
that ecosystem entry rather than needing to list each dependency individually.
updates: - package-ecosystem: "npm" directory: "/" schedule: interval: "weekly" ignore: - dependency-name: "*" update-types: ["version-update:semver-major"]
This is a common, deliberate policy for teams that want the low-risk maintenance benefit of staying current on patches and minor features automatically, while treating major version upgrades (which per semver convention may include breaking changes) as planned migration work scheduled and tested deliberately, rather than something that shows up unannounced as a routine pull request alongside everything else.
More Related questions...