mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-26 14:41:23 +00:00
We have missused `exclude-patterns` and `applies-to` in previous setup, they are documented in [1]: - `exclude-patterns`: Use to exclude certain dependencies from the group. If a dependency is excluded from a group, Dependabot will continue to **raise single pull requests** to update the dependency to its latest version. - `applies-to`: Use to specify whether the rules in the group apply to version updates or security updates. applies-to can be version-updates or security-updates. Options in `groups` section is a matter of grouping strategy of these detected udpates. All in all, to effectively "group" these updates, we need to use `allow` and `ignore` to specify update "candidates" for dependabot, if the "candidates" were duplicated in the first place, no matter the grouping strategy, the PRs raised are bound to be overlaped/duplicated. [1] https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
version: 2
|
|
updates:
|
|
- package-ecosystem: cargo
|
|
directories:
|
|
- "/"
|
|
- "/staging/"
|
|
schedule:
|
|
interval: weekly
|
|
allow:
|
|
- dependency-name: "vhost"
|
|
- dependency-name: "vhost-user-backend"
|
|
- dependency-name: "virtio-bindings"
|
|
- dependency-name: "virtio-queue"
|
|
- dependency-name: "virtio-vsock"
|
|
- dependency-name: "vm-memory"
|
|
- dependency-name: "vmm-sys-util"
|
|
groups:
|
|
rust-vmm:
|
|
patterns:
|
|
- "*"
|
|
- package-ecosystem: cargo
|
|
directories:
|
|
- "/"
|
|
- "/staging/"
|
|
schedule:
|
|
interval: monthly
|
|
allow:
|
|
- dependency-type: all
|
|
ignore:
|
|
- dependency-name: "vhost"
|
|
- dependency-name: "vhost-user-backend"
|
|
- dependency-name: "virtio-bindings"
|
|
- dependency-name: "virtio-queue"
|
|
- dependency-name: "virtio-vsock"
|
|
- dependency-name: "vm-memory"
|
|
- dependency-name: "vmm-sys-util"
|
|
groups:
|
|
non-rust-vmm:
|
|
patterns:
|
|
- "*"
|
|
# Makes it possible to have another config for the same directory.
|
|
# https://github.com/dependabot/dependabot-core/issues/1778#issuecomment-1988140219
|
|
target-branch: main
|
|
|
|
- package-ecosystem: gitsubmodule
|
|
directory: "/"
|
|
schedule:
|
|
interval: weekly
|
|
open-pull-requests-limit: 10
|