Auto-close environment when branch is deleted
Description
Automatic review app creation is awesome. In 8.13, we plan on supporting manually closing environments that are no longer needed. But we should go further and automatically close environments when the branch is destroyed (usually as a result of the merge request being merged).
Proposal
- Run the
close
oron_close
action for any environment that was created for a given branch.