Using the PlanetScale CLI with GitHub Actions workflows
Feb 3, 2022Taylor Barnett

Summary
This post details how to integrate the PlanetScale CLI with GitHub Actions workflows to automate database schema changes. It provides pre-built workflows for common tasks like creating databases, adding columns/indexes, and merging deploy requests. It also guides users on building custom workflows using shell scripts and the `pscale` CLI, emphasizing the use of service tokens for authentication and helper scripts for managing database branch readiness and authentication.