Skip to content

Commit 721f42c

Browse files
d-e-s-oinsearchoflosttime
authored andcommitted
Enabled Dependabot for automatically updating locked versions of dependencies
Now that we have decoupled our minimum supported Rust version checks from `Cargo.lock` [0], we can easily keep dependency versions up-to-date. Doing so will make sure that we always release with the most recent dependencies, which may include bug and security fixes. It will also help with enabling cargo audit/deny [2], depending on what we audit. This change enables Dependabot for doing so. It will scan for updated packages and open pull requests. I've tried it out on my fork [1] and it worked fine. [0] #318 [1] https://github.com/danielocfb/libbpf-rs/pull/2 [2] #187 Signed-off-by: Daniel Müller <deso@posteo.net>
1 parent 90714e2 commit 721f42c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "cargo"
9+
versioning-strategy: "lockfile-only"
10+
directory: "/"
11+
schedule:
12+
interval: "weekly"

0 commit comments

Comments
 (0)