Skip to content

Commit

Permalink
ci: Allow different configs for the same directory
Browse files Browse the repository at this point in the history
Currently `dependabot` does not allow different configurations for the
same directories. This workaround [1] provides a way to bypass this
restriction.

[1] dependabot/dependabot-core#1778 (comment)

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
  • Loading branch information
TimePrinciple authored and vireshk committed Nov 14, 2024
1 parent ad30537 commit 5340588
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ updates:
vhost-device:
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:
Expand Down

0 comments on commit 5340588

Please sign in to comment.