Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit ac6fa67

Browse files
authored
Merge pull request #85 from Kobzol/fix-branch-sync
Add `requiresApprovingReviews` to branch protection GraphQL query
2 parents 7d3cf14 + 04c7c1f commit ac6fa67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/github/api/read.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,8 @@ impl GithubRead for GitHubApiRead {
332332
isAdminEnforced,
333333
dismissesStaleReviews,
334334
requiredStatusCheckContexts,
335-
requiredApprovingReviewCount
335+
requiredApprovingReviewCount,
336+
requiresApprovingReviews
336337
pushAllowances(first: 100) {
337338
nodes {
338339
actor {

0 commit comments

Comments
 (0)