Using workflow_run for the event trigger for the test and release workflows was not great because they ran in the context of the main branch and did not show up on the PR in question.
This PR converts all of the current tasks to reusable workflows, and introduces two main workflows to coordinate everything that needs to run. pull-request-workflow.yml handles running the tests and cutting canary releases, while main-workflow.yml handles running tests and cutting real releases when branches are merged to main.
How to test
Take a gander at all those status checks attached to the PR! ✅
Issue: #
What Changed
Using
workflow_run
for the event trigger for the test and release workflows was not great because they ran in the context of the main branch and did not show up on the PR in question.This PR converts all of the current tasks to reusable workflows, and introduces two main workflows to coordinate everything that needs to run.
pull-request-workflow.yml
handles running the tests and cutting canary releases, whilemain-workflow.yml
handles running tests and cutting real releases when branches are merged tomain
.How to test
Take a gander at all those status checks attached to the PR! ✅