harshith029/safemigrate-lint
Lint Postgres migration SQL on every PR. Catches the dangerous operations before they hit production.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| paths | Glob or newline-separated list of SQL files to lint (e.g. "migrations/*.sql"). | yes | — |
| severity | Comma-separated severity levels to include: critical,warning,style. | no | critical,warning |
| format | Output format for the action log: json or markdown. | no | json |
Outputs
| name | description |
|---|---|
| findings-count | Total number of findings emitted (after severity filter). |
| has-critical | True if at least one critical-severity finding was emitted. |