How to use build auto-cancel for all but a particular branch?

I love the auto-cancel feature for PRs and feature branches, however I don’t want commits merged into the main development branch to be skipped from being built - I want to be sure to know when a particular commit breaks.

Is it possible to selectively disable the feature for a branch only? I couldn’t find much on doing so.