Implementing a Workflow
As Argyle grew, the number of systems they needed to support increased. They decided to move to a GitOps approach by managing their infrastructure inside a Git repository.
Argyle chose to build their environment based on Git branches, one for production and one for staging. They could then leverage Mergify to backport pull requests from one branch to the other automatically.
When an engineer wants to release a change to production, they test it on the staging branch. Once it works, Mergify takes control: it automatically copies the pull request to the production branch, waits for the continuous integration testing to validate, and then merges the pull request.