Skip to content

The property '#/registries' of type string did not match the following type: object #112596

Discussion options

You must be logged in to vote

Hi @dammitjim , thanks for pointing this out! This is actually an error in our docs 😱 I'll look to get that fixed.

There are 2 places you can use the registries key: at the top level, where you define the registries, and within the updates blocks. At the top level, you need to define the registries and their access information if needed. Within the updates blocks (in your case, the pip or actions blocks), you can specify registries: "*" which will tell Dependabot to use any/all of the registries you defined at the top level.

So in this case, what you need to do is something like:

version: 2
registries:
  python-example:
    type: python-index
    url: https://example.com/_packaging/my-fee…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dammitjim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Code Security Build security into your GitHub workflow with features to keep your codebase secure
2 participants