I understand that Github supports adjustment of the required approval count based on branches, but is there a way to control this on a more granular level? Specifically is there a way to adjust this value based on the directories that the Pull Request touches?
For example, if we have a directory
/app/src/sensitiveFeature and anytime a developer touches the code in that directory, it’ll require X approvals?
Currently we are handling this manually by simply labeling PRs that needs X approvals, but we would love to remove this manual step and also actually enforce this at a GitHub level.
Any thoughts or ideas would be much appreciated, thanks!