Commit Graph

8 Commits

Author SHA1 Message Date
Ruoqing He
60a29e2403 dependabot: Group updates to reduce noise
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>
2024-11-18 13:50:34 +05:30
Ruoqing He
5340588543 ci: Allow different configs for the same directory
Currently `dependabot` does not allow different configurations for the
same directories. This workaround [1] provides a way to bypass this
restriction.

[1] https://github.com/dependabot/dependabot-core/issues/1778#issuecomment-1988140219

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
2024-11-14 22:15:40 +05:30
Ruoqing He
4de2e8bb2b 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>
2024-11-14 15:24:04 +05:30
Stefano Garzarella
6c7d8a5efd dependabot: run it also for staging crates
We forgot to tell dependabot to also run in the "staging" nested
workspace. Let's enable it.

Closes #536

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2023-11-14 11:21:49 +01:00
Erik Schilling
072fadaaba dependabot: enable update grouping
This should group updates into a single PR. Hopefully, that simplfies
updates.

Updates that do _actually_ require code changes, will need a separate PR
anyway, after which dependabot can be asked to rebase/recreate.

Suggested-by: Patrick Roy <roypat@amazon.co.uk>
Suggested-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
2023-10-06 12:58:11 +05:30
Viresh Kumar
620dd5fd01 dependabot: Allow updating dependencies
Remove the incorrect file dependabot.yaml and edit the correct one to
allow crate updates on weekly basis.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2021-09-06 12:54:53 +05:30
Andreea Florescu
f9440ac8cd update dependabot formatting 2021-09-03 10:22:01 +03:00
Andreea Florescu
72710f3a89 Initial commit 2021-05-26 10:18:40 +03:00