I’m looking for possibility to make review in pull request mandatory only if changed file has codeowners.
i.e. I have files
And codeowners defined as following
What I want to happen is if Bob modifies some_stuff.ext, he can merge it without awaiting for review (status checks are still required). But if he modifies very_sensitive.ext, then review from Alice is mandatory (in addition to status checks).
Is it possible somehow?