fanduzi/DeltaScope SQL Audit
Offline SQL audit for MySQL/TiDB migrations — runs deltascope CLI, annotates the step summary, and optionally comments on pull requests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | DeltaScope release tag to download (e.g. v0.13.1). Defaults to latest. | no | latest |
| files | Glob pattern (relative to repo root) of SQL files to audit, e.g. migrations/*.sql. | no | migrations/*.sql |
| fail-on | Minimum severity that causes a non-zero exit: blocker | warning | notice | none | no | blocker |
| config | Path to a deltascope YAML policy config file. Leave blank to use built-in defaults. | no | "" |
| token | GitHub token used to post a PR comment with the audit summary. Set to empty string to disable PR comments. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| has-issues | "true" if any file has findings at or above fail-on threshold, otherwise "false". |
| result | JSON array of per-file audit results. |