arju-z/SafeDB-CI

Validates SQL migration files before production deploy. Runs ordering, safety analysis, execution, and structural schema integrity checks against an ephemeral database service container.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
db_typeTarget database engine: 'postgres' or 'mysql'.yes
migrations_pathRelative path to the SQL migration files directory.yes./migrations
strict_modeWhen 'true', MEDIUM severity schema anomalies (missing PK, duplicate FK) are treated as hard failures (exit 1). Default: 'false' (warnings only). nofalse
postgres_userPostgreSQL username. Must match the service container POSTGRES_USER.no""
postgres_passwordPostgreSQL password. Always pass via GitHub Secrets — never hardcode.no""
postgres_dbPostgreSQL database name.no""
mysql_userMySQL username. Must match the service container MYSQL_USER.no""
mysql_passwordMySQL password. Always pass via GitHub Secrets — never hardcode.no""
mysql_databaseMySQL database name. Must match the service container MYSQL_DATABASE.no""

no outputs