The schema/plan and migrate/lint actions now add a change summary to their pull request comments: one row for each changed object, with its diff and the statements that change it.
From v1.17.4, the pull request comments of schema/plan and migrate/lint include a change summary: every object the change creates, modifies, or drops, with its diff and the statements that touch it. Reviewers see what changes before reading the SQL.
No workflow changes are needed. The summary comes with the latest Atlas version, which ariga/setup-atlas installs by default.
Schema Plan
The plan comment opens with the summary, followed by the full migration script:
Migrate Lint
The lint comment adds a summary for each migration file, below the lint results:
Both actions also add the summary to the job summary. See the GitHub Actions documentation for more details.