Open pzelnip opened 3 months ago
My first thought is that the renovate schema (provided upstream) may not be accurate. I'm checking this now.
Scratch that -- I removed the label -- their schema is fine.
This seems like a simple case and I over-indexed on the Best Match
. It's nice to see Best Deep Match
providing value:
'*'
is, as it says, not a 'regex'
.
Switching to ".*"
for your pattern resolves it. Renovate may be lenient if the input pattern doesn't parse as a regex (e.g., they may failover to a globbing behavior), but I don't see a straightforward way for check-jsonschema
to permit this.
If *
is working to match on things, that would be a little interesting. If .*
doesn't match, then I think that would make this into an upstream doc/schema issue -- it would mean that this field is not a regex.
With this
renovate.json
file:which Renovate happily accepts, I get validation errors when running check-jsonschema against it: