What do you think of Continuous Deployment, where you push code to main and, if the tests pass, that code is automatically deployed to production?
@simon We do that on a number of systems in our team but with the important conditions that:
- All new code is via human-reviewed PRs
- All PRs tests (unit & E2E) must pass in an identical pre-live env
Only when both of those are true is it possible to merge and auto-deploy. (we run the same tests in pre-live and live deploys too as a double check in case anything changed between PR and merge).