SQL Atlas can now analyze SQL files directly in GitHub Actions.
GitHub Action
- Select SQL files with newline-separated glob patterns
- Add file and line annotations to workflow runs and pull requests
- Write a Markdown analysis report to the job summary
- Expose file count, finding count and lowest score as outputs
- Enforce severity and minimum score policies
- Run from a bundled Node.js 24 action without runtime downloads
- uses: actions/checkout@v7
- uses: milekv/sql-atlas@v0.5.0
with:
paths: migrations/**/*.sql
dialect: postgresql
fail-on: critical
min-score: 60CLI packaging
The attached CLI package now has zero runtime dependencies. It reads SQL from files or standard input and supports text, JSON and Markdown reports.
npx --yes https://github.com/milekv/sql-atlas/releases/download/v0.5.0/sql-atlas-0.5.0.tgz analyze query.sqlWeb demo: https://milekv.github.io/sql-atlas/