Skip to content

Drop Dependabot's versioning strategy for cargo - #75

Merged
dduugg merged 1 commit into
mainfrom
fix-dependabot-config
Oct 13, 2026
Merged

dduugg merged 1 commit into
mainfrom
fix-dependabot-config

Conversation

@dduugg

@dduugg dduugg commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • The file still validates against SchemaStore's Dependabot schema (check-jsonschema --builtin-schema vendor.dependabot). That schema doesn't encode cargo's two values, though: it passes the file on main too.
  • Dependabot's config check passes on main once this merges. It runs only on the default branch, so this PR can't show it.

For cargo, Dependabot accepts only `auto` and `lockfile-only` as a
versioning strategy, so it rejected the config's `increase`, and since
#74 its `increase-if-necessary`, and ran no updates. `auto`, the
default, already does what `increase-if-necessary` meant to: it updates
Cargo.lock, and raises a requirement in Cargo.toml only for a release
that the requirement doesn't allow.
@dduugg
dduugg requested a review from a team as a code owner October 13, 2026 00:19
@dduugg
dduugg merged commit bbccb47 into main Oct 13, 2026
21 checks passed
@dduugg
dduugg deleted the fix-dependabot-config branch October 13, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant