In our setup, we are able to run only single build at the time (due to the deployment setup). I have set a max concurrent builds param to 1.
We happen to have multiple PRs merged around the same time, hence there may be new changes coming, while the build is ongoing. Then we have to wait until current build finishes and the next one starts (polling for changes).
I am missing/looking for a way to stop ongoing builds if the new one is scheduled. Is there a way to do that?