-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
72ebeb3
commit 5f5deb0
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | ||
- "*" |