https://github.com/authzed/action-spicedb-validate
GitHub Action for validating your SpiceDB schema
https://github.com/authzed/action-spicedb-validate
authzed fine-grained-access-control fine-grained-authorization github-actions linter spicedb zanzibar
Last synced: 5 months ago
JSON representation
GitHub Action for validating your SpiceDB schema
- Host: GitHub
- URL: https://github.com/authzed/action-spicedb-validate
- Owner: authzed
- License: apache-2.0
- Created: 2022-02-23T20:47:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T21:47:56.000Z (11 months ago)
- Last Synced: 2024-11-02T05:32:49.355Z (5 months ago)
- Topics: authzed, fine-grained-access-control, fine-grained-authorization, github-actions, linter, spicedb, zanzibar
- Language: Dockerfile
- Homepage:
- Size: 11.7 KB
- Stars: 13
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
- awesome-spicedb - authzed/action-spicedb-validate - GitHub Action for validating your SpiceDB schema (Testing / Third-party Integrations)
README
# SpiceDB Validate GitHub Action
[](https://docs.authzed.com)
[](https://www.apache.org/licenses/LICENSE-2.0.html)
[](https://github.com/authzed/action-spicedb-validate/actions)
[](https://discord.gg/jTysUaxXzM)
[](https://twitter.com/authzed)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].
[zed]: https://github.com/authzed/zed
[GitHub Action]: https://github.com/features/actions
[Authzed Playground]: https://play.authzed.com## Usage
Add the following any workflow:
```yaml
steps:
- uses: "authzed/action-spicedb-validate@v1"
with:
validationfile: "myschema.zaml"
```See [test-schema.zaml] for an example of an input file.
[test-schema.zaml]: test-schema.zaml