Check if PR requires more reviews

Is there a way to check if a pr requires more reviews in order to be merged without having to make a request for branch protection requirements for reviews and then another request for the reviews on the PR?


By just calling the pull request API. It has a mergeable attribute and mergeable\_state using this you can find whether the pull request is mergeable or not. If mergeable is true and mergeable\_state is clean then it is ready to merge.