diff --git a/src/schemas/json/dependabot-2.0.json b/src/schemas/json/dependabot-2.0.json index 2ceaf5e2b15..adc291a7049 100644 --- a/src/schemas/json/dependabot-2.0.json +++ b/src/schemas/json/dependabot-2.0.json @@ -1027,6 +1027,7 @@ "type": { "description": "Identifies the type of registry.", "enum": [ + "cargo-registry", "composer-repository", "docker-registry", "git", @@ -1035,6 +1036,7 @@ "maven-repository", "npm-registry", "nuget-feed", + "pub-repository", "python-index", "rubygems-server", "terraform-registry" diff --git a/src/test/dependabot-2.0/example.json b/src/test/dependabot-2.0/example.json index 38874a8e5c2..72311df28f1 100644 --- a/src/test/dependabot-2.0/example.json +++ b/src/test/dependabot-2.0/example.json @@ -1,6 +1,11 @@ { "enable-beta-ecosystems": true, "registries": { + "cargo-example": { + "token": "${{secrets.MY_CARGO_REGISTRY_TOKEN}}", + "type": "cargo-registry", + "url": "https://my-registry.example.com" + }, "composer": { "password": "${{secrets.MY_PACKAGIST_PASSWORD}}", "type": "composer-repository", @@ -59,6 +64,11 @@ "url": "https://nuget.example.com/v3/index.json", "username": "octocat@example.com" }, + "pub-example": { + "token": "${{secrets.MY_PUB_TOKEN}}", + "type": "pub-repository", + "url": "https://pub.example.com" + }, "python-azure": { "replaces-base": true, "token": "${{secrets.MY_AZURE_DEVOPS_TOKEN}}",