From 4de2e8bb2b7cb2bc129ca22cdeb2239bf041bda5 Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Mon, 11 Nov 2024 18:21:50 +0800 Subject: [PATCH] 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 --- .github/dependabot.yml | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 57264ca..7bc0bf8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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