Closed SvenStaehs closed 10 months ago
hm, I did find the commit that introduced this incomplete entry in the schema file. Maybe I can find the time to propose a PR, if I can find out how to write can be an array of strings or the single string "*"
😬
schema is fixed, validator works without this false positive now 👍
Issue
false positive:
Cause
According to the new schema introduced with #648, the "registries" property of "update" section should be an array:
But Dependabot also accepts a string value of
"*"
with the special meaning "allow access to all private registries" (the default is to refuse access). From the docs:There is an example usage as well:
If
"*"
is given as an array element Dependabot takes this to mean "registry with the name '*'" and fails.Workaround:
Solution:
Schema needs fixing so it correctly states that it can be an array or the string
"*"
, but I have no idea who maintains those schema files (and whether that's even possible?)