mileszim/Prisma Strong Migrations
Lint Prisma migrations for unsafe SQL before it reaches production.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| migrations-dir | Directory containing Prisma migrations. | no | ./prisma/migrations |
| config | Path to a config file. Auto-discovered when omitted. | no | "" |
| changed-only | Only lint migrations this branch changed versus its base (the whole diff, like a PR — not just the latest commit). The action deepens shallow checkouts automatically. | no | false |
| base | Branch to compare against for changed-only. Defaults to the PR base branch (pull requests) or the repository default branch (pushes). | no | "" |
| fail-on | Severity that fails the run: 'error' or 'warning'. | no | error |
| reporter | Output format: 'github' (inline PR annotations), 'stylish', or 'json'. | no | github |
| working-directory | Directory to run in (where the Prisma project lives). | no | . |
| node-version | Node.js version used to run the linter. | no | 22 |
Outputs
no outputs