I'm trying to specify two npm registries for my GitHub Action Dependabot workflow, but when committed, the following error occurs:
Dependabot encountered the following error when parsing your .github/dependabot.yml:
The property '#/registries/npmjs/' of type object did not match one or more of the required schemas Please update the config file to conform with Dependabot's specification.
I have a private package published to npm.pkg.github.com, but all other dependencies should be resolved from the default registry.npmjs.org.
Can anyone spot the problem?
version: 2
registries:
npmjs:
type: npm-registry
url: https://registry.npmjs.org
npm-github:
type: npm-registry
url: https://npm.pkg.github.com
token: ${{ secrets.NPM_TOKEN }}
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
- package-ecosystem: npm
registries:
- npmjs
- npm-github
directory: /
schedule:
interval: daily
open-pull-requests-limit: 10