Preventing "no tests" notifications


We’re using your experimental settings to only send notifications on certain branches, with something like:

        - master 

This works great, except for the following case:

If someone pushes a commit to a feature branch, then shortly afterwards rebases their branch so that the previous commit is no longer reachable, the build will fail with a warning that there were “no tests”.

This is fine, and what we’d expect to happen. However, when a build fails in this situation, we still get notifications sent even if the branch would’ve been excluded by our settings.

Is there any way to prevent this?