diff --git a/main.go b/main.go index 464b56a..a5d2a13 100644 --- a/main.go +++ b/main.go @@ -181,6 +181,7 @@ func main() { pullRequestReviewsEnforcementRequest.DismissalRestrictionsRequest = dismissalRestrictionsRequest pullRequestReviewsEnforcementRequest.DismissStaleReviews = requiredPullRequestReviews.DismissStaleReviews pullRequestReviewsEnforcementRequest.RequireCodeOwnerReviews = requiredPullRequestReviews.RequireCodeOwnerReviews + pullRequestReviewsEnforcementRequest.RequiredApprovingReviewCount = requiredPullRequestReviews.RequiredApprovingReviewCount protectionRequest.RequiredPullRequestReviews = pullRequestReviewsEnforcementRequest }