scan --reporter json, diff --fail-on-diff, check, and optional verify. Protected deploy jobs can run sync with configured targets and an explicit remote approval environment variable. This repository ships CLI and GitHub Action gates, a licensed standalone type-contract --enforce path, and no hosted CI, live billing deployment, or marketplace distribution.
Use this when
- The repository owns declarative schema files.
- Pull requests should fail on drift.
- Unsafe SQL should show as PR annotations or SARIF.
- RLS predicate changes need explicit review.
Do this
Start with the free CI layer:Decide
- Which branches require drift checks.
- Whether
verifyruns on every PR or only protected branches. - Who can approve destructive hints.
- Whether your organization needs additional policy enforcement outside this repository.
Related
CI recipe
Copy a full GitHub Actions workflow.
Check command
Add PR annotations and SARIF output.
Verify command
Run apply-twice verification.
Benchmarks
Review timing and replay-safety evidence.

