History

Always let Dependabot propose `Cargo.lock` updates

This fixes a bug in the `dependabot.yml` configuration since #1948, where we intend Dependabot to include the effect of `cargo update`, but this does not happen because `dependency-type: all` was not explicitly allowed. This does not make an analogous change to the Dependabot configuration for GitHub Actions, because `all` and `direct` currently have the same effect for them (and it is not obvious how it would work if that ever changes, or which we would prefer). For details on why this is needed for Dependabot to update most locked dependencies in `Cargo.lock` aside from the case where the update is done as part of updating a `Cargo.toml` dependency, see: - https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/controlling-dependencies-updated#allowing-specific-dependencies-to-be-updated - https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#dependency-type-allow

Eliah Kagan committed 1 year ago

Commit b77d1561 parent 737bb491 file · +3 −0Browse files

Unified · Split

.github/dependabot.yml+3−0
@@ -7,9 +7,12 @@ updates: · 6 unmodified lines
77 commit-message:
88 # Avoid non-"purposeful" prefix due to Dependabot misdetecting style (see `DEVELOPMENT.md`).
99 prefix: ''
10+ allow:
11+ - dependency-type: all
1012 groups:
1113 cargo:
1214 patterns: ['*']
15+
1316 - package-ecosystem: github-actions
1417 directory: '/'
1518 schedule:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t