-
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
Enforce schema validation on pre-commit. #32
Conversation
Since you're on GH.com you could run this as an Action on any PRs? It wouldn't let you merge invalid branches then |
@Kallb123 Yes, maybe... I find GH actions annoying to set up :). I think we'd want to leave it as a |
It is pretty wasteful to push and then find it's failed. How do you actually distribute or enforce a client-side hook though? Since they're not in the repo, do you share it separately? |
OK, I'm being stupid; I hadn't realised this hadn't committed the |
An explicit setup step is required, to prevent remote code execution.
Github Action added. |
We are wasting too much time committing invalid schemas. Set up a pre-commit hook which enforces validity.