ci: Reduce non-rust-vmm crates update frequency

Group `rust-vmm` crates and `non-rust-vmm` crates with security-updates
into weekly update, leave the rest dependencies to monthly update in
dependabot configuration.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
Ruoqing He 2024-11-11 18:21:50 +08:00 committed by Viresh Kumar
parent db63d2057c
commit 4de2e8bb2b

View File

@ -1,20 +1,42 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
directories:
- "/"
- "/staging/"
schedule:
interval: weekly
allow:
- dependency-type: direct
- dependency-type: indirect
groups:
vhost-device:
rust-vmm:
patterns:
- "vhost"
- "vhost-user-backend"
- "virtio-bindings"
- "virtio-queue"
- "virtio-vsock"
- "vm-memory"
- "vmm-sys-util"
non-rust-vmm:
applies-to: security-updates
patterns:
- "*"
exclude-patterns:
- "vhost"
- "vhost-user-backend"
- "virtio-bindings"
- "virtio-queue"
- "virtio-vsock"
- "vm-memory"
- "vmm-sys-util"
- package-ecosystem: cargo
directory: "/staging/"
directories:
- "/"
- "/staging/"
schedule:
interval: weekly
interval: monthly
allow:
- dependency-type: direct
- dependency-type: indirect