Validate SpiceDB schema
ActionsRuns the zed validate command on the provided schema and test data
v1.0.1
LatestBy authzed
Verified creator
Verified
This project is a GitHub Action that runs the zed validate command for a SpiceDB schema and test data.
A compatible file can be produced by downloading from the Authzed Playground.
Add the following to any workflow:
steps:
- uses: "actions/checkout@v4"
- uses: "authzed/action-spicedb-validate@v1"
with:
validationfile: "myschema.zaml"Note: The
actions/checkoutstep is required before running this action. Without it, your repository files won't be available and validation will fail with "no such file or directory".
The validationfile path should be relative to the repository root.
See test-schema.zaml for an example of an input file.
Validate SpiceDB schema is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.