github-actions-for-sql

Installation
SKILL.md

Deploy schema to Azure SQL Database from GitHub Actions

This owns the pipeline: the workflow, the login, the firewall and the gate. Not the project (sql-database-projects), the sequencing of a schema change (schema-migrations-safely), the database-side grant (entra-id-auth), or the application (deploy-app-to-azure).

The action's behaviour below is that of azure/sql-action at tag v2.4, commit eb1f9a80.

The action is three commands. Run them yourself first

Input Notes
connection-string required. This is where the authentication method is chosen
path required. .sql, .dacpac or .sqlproj. A glob is allowed and must match exactly one file
action required for .dacpac and .sqlproj. Publish, Script, DriftReport, DeployReport, nothing else
arguments appended verbatim to the deployment command line, or to the sqlcmd line for a .sql path
build-arguments appended to dotnet build when the path is a project
skip-firewall-check default false
sqlpackage-path point at a SqlPackage the runner already carries
Installs
50
GitHub Stars
66
First Seen
Sep 28, 2026