-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: no schema with key or ref "https://json-schema.org/draft/2020-12/schema" #20
Comments
ossf/osv-schema#260 is the PR exhibiting this problem |
Thanks for opening an issue! From the linked implementation, it looks like you're using an older version that didn't support that draft version. Can you try using the latest v1.2.0? |
I'm not actually sure how I came to pin at a version less than the latest... This should fix the problem seen in dsanders11/json-schema-validate-action#20 Signed-off-by: Andrew Pollock <apollock@google.com>
Thank you for your speedy response and I have no idea how I came to pin at a version older than the latest 🤦♂️ |
I'm not actually sure how I came to pin at a version less than the latest... This should fix the problem seen in dsanders11/json-schema-validate-action#20 Signed-off-by: Andrew Pollock <apollock@google.com>
@andrewpollock, if using the latest version fixed your error, could you go ahead and close out this issue? Thanks! |
I believe this to be a non-issue since upgrading to the latest version. |
Hi,
I'm having a hard time understanding what the problem might be here...
Objective: validate PRs changing a JSON Schema definition itself for correctness
Implementation: ossf/osv-schema@1c585fd
Expected outcome: the change to
validation/schema.json
is validated for correctness, and any problems surfaced with clear and actionable feedbackActual outcome:
Error: no schema with key or ref "https://json-schema.org/draft/2020-12/schema"
is opaque about whether this is a problem with the PR or a misconfiguration of the ActionThe text was updated successfully, but these errors were encountered: