Skip to content

Commit 93c47c2

Browse files
committed
Always let Dependabot propose Cargo.lock updates
This fixes a bug in the `dependabot.yml` configuration since GitoxideLabs#52, 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
1 parent 76ec21b commit 93c47c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ updates:
44
directory: '/'
55
schedule:
66
interval: monthly
7+
allow:
8+
- dependency-type: all
79
groups:
810
cargo:
911
patterns: ['*']
12+
1013
- package-ecosystem: github-actions
1114
directory: '/'
1215
schedule:

0 commit comments

Comments
 (0)