nextstrain / nextstrain.org

The Nextstrain website
https://nextstrain.org
GNU Affero General Public License v3.0
87 stars 49 forks source link

Add workflow to auto-merge Auspice bump PRs #667

Closed victorlin closed 1 year ago

victorlin commented 1 year ago

Description of proposed changes

The auto-merge is reasonable because the target branch is deployed to the canary site (next.nextstrain.org), not the production site. Auto-merge allows us to test the latest Auspice release on the canary site without manually merging the automatically created version bump PRs.

Changes outside of this PR

Related issue(s)

Prompted by Slack discussion.

Testing

victorlin commented 1 year ago

Failing test seems transient – it passed on the merged commit.

joverlee521 commented 1 year ago

Just made an Auspice release for the first time since this workflow was implemented! It totally worked as expected 🎉

The only hiccup I ran into was the deploy job did not have access to our Heroku secrets because the GH Action was triggered by dependabot. I've added the Heroku secrets to the Dependabot secrets and the latest run is working as expected.