Add default dependabot configurations

The intention with these is that crates including rust-vmm-ci as a
submodule will be able to copy either the monthly or weekly schedule to
their repository's .github/dependabot.yml. Sadly, it is not possible to
automatically keep these in-sync with upstream, as dependabot does not
support symlinking the dependabot.yml file into a submodule. However, we
expect updates to be rare enough for this to not be a practical problem.

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
This commit is contained in:
Patrick Roy
2024-01-29 16:35:47 +00:00
committed by Jonathan Woollett-Light
parent 72ebeb393c
commit 5f5deb060e
2 changed files with 52 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
version: 2
updates:
# A monthly update of the rust-vmm-ci submodule
- package-ecosystem: gitsubmodule
directory: "/"
schedule:
interval: monthly
open-pull-requests-limit: 1
# A monthly update to rust dependencies. These will be grouped,
# e.g. one PR will contains updates for all dependencies.
- package-ecosystem: cargo
directory: "/"
schedule:
interval: monthly
open-pull-requests-limit: 1
# Make it also update transitive dependencies in Cargo.lock
allow:
- dependency-type: "all"
# Group all available updates into a group called "rust-dependencies"
groups:
rust-dependencies:
patterns:
- "*"
+27
View File
@@ -0,0 +1,27 @@
version: 2
updates:
# A weekly update of the rust-vmm-ci submodule
- package-ecosystem: gitsubmodule
directory: "/"
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 1
# A weekly update to rust dependencies. These will be grouped,
# e.g. one PR will contains updates for all dependencies.
- package-ecosystem: cargo
directory: "/"
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 1
# Make it also update transitive dependencies in Cargo.lock
allow:
- dependency-type: "all"
# Group all available updates into a group called "rust-dependencies"
groups:
rust-dependencies:
patterns:
- "*"