Heroku Pipelines: changing the auto-deploy branch from master to main
If you are interested in updating the name of the primary branch on your repository from
master to something more inclusive (I’ll use
main in my examples here), but are unsure because you deploy your app via Heroku pipelines and aren’t sure how easy that will be to change…the good news is: it’s very easy!
Before doing the below, I followed the instructions here to update both git and GitHub.
Open your pipeline in the Heroku dashboard, and for each app with automatic deploys configured…