Automatically stop dynamic environment on Merge Request accept

Description

Use case today :

  • Create issue on project
  • Create branch from issue
  • Push some code
  • Gitlab CI build and update an environment from that code
  • Open Merge Request (Here we show links to the active environment and a button to stop it - manual)
  • The user have to stop env
  • Then we can accept and merge code (and automatically remove source branch)

Proposal

I would like to enable a box to automatically launch the stop/remove environnement directly from the Accept Merge Request view
Like the "Close source branch", we can something like "Destroy env"

WDYT ?