I'm currently setting up Bamboo and Stash to work so that master is never broken. Developers work on short-lived feature/bugfix branches, which Bamboo automatically builds when they are pushed to Stash.
In Stash, the merge criteria is set to require a clean build and no outstandig issues. The problem is that the merge does not take place until someone manually pushes the merge button, and this can be a while unless there's someone continually monitoring a pull request queue. Is there a way to automate this so that the merge takes place as soon as the conditions are satisfied?