0

There are many git submodules under the contrib directory of my repo. I want to configure my dependabot to only update contrib/proxy, How can I do this?

According to this doc, I find a directory config item. However, seems this must be equal to where .git is.

Should I use a allow config for contrib/proxy?

calvin
  • 2,125
  • 2
  • 21
  • 38

1 Answers1

1

I found the following works

version: 2
updates:
  - package-ecosystem: "gitsubmodule"
    directory: "/"
    allow:
      - dependency-name: "contrib/proxy"
    schedule:
      interval: "daily"
calvin
  • 2,125
  • 2
  • 21
  • 38