Is there a way to configure a branch protection policy which is only checked if the commits in that branch include changes within a specific path?
For example, I have a repo with /backend and /frontend folders. I’d like to set it up PR build policies so that the Backend-CI build is triggered and checked for status only if my branch contains changes in /backend. Similarly the Frontend-CI build is only triggered and checked if there are changes in frontend.
Azure DevOps supports this which is pretty helpful for improving validation times.