@@ -25,6 +25,11 @@ internal BranchProtectionRule(Expression expression) : base(expression)
2525 /// </summary>
2626 public bool AllowsForcePushes { get ; }
2727
28+ /// <summary>
29+ /// Is branch creation a protected operation.
30+ /// </summary>
31+ public bool BlocksCreations { get ; }
32+
2833 /// <summary>
2934 /// A list of conflicts matching branches protection rule and other branch protection rules
3035 /// </summary>
@@ -34,6 +39,24 @@ internal BranchProtectionRule(Expression expression) : base(expression)
3439 /// <param name="before">Returns the elements in the list that come before the specified cursor.</param>
3540 public BranchProtectionRuleConflictConnection BranchProtectionRuleConflicts ( Arg < int > ? first = null , Arg < string > ? after = null , Arg < int > ? last = null , Arg < string > ? before = null ) => this . CreateMethodCall ( x => x . BranchProtectionRuleConflicts ( first , after , last , before ) , Octokit . GraphQL . Model . BranchProtectionRuleConflictConnection . Create ) ;
3641
42+ /// <summary>
43+ /// A list of actors able to force push for this branch protection rule.
44+ /// </summary>
45+ /// <param name="first">Returns the first _n_ elements from the list.</param>
46+ /// <param name="after">Returns the elements in the list that come after the specified cursor.</param>
47+ /// <param name="last">Returns the last _n_ elements from the list.</param>
48+ /// <param name="before">Returns the elements in the list that come before the specified cursor.</param>
49+ public BypassForcePushAllowanceConnection BypassForcePushAllowances ( Arg < int > ? first = null , Arg < string > ? after = null , Arg < int > ? last = null , Arg < string > ? before = null ) => this . CreateMethodCall ( x => x . BypassForcePushAllowances ( first , after , last , before ) , Octokit . GraphQL . Model . BypassForcePushAllowanceConnection . Create ) ;
50+
51+ /// <summary>
52+ /// A list of actors able to bypass PRs for this branch protection rule.
53+ /// </summary>
54+ /// <param name="first">Returns the first _n_ elements from the list.</param>
55+ /// <param name="after">Returns the elements in the list that come after the specified cursor.</param>
56+ /// <param name="last">Returns the last _n_ elements from the list.</param>
57+ /// <param name="before">Returns the elements in the list that come before the specified cursor.</param>
58+ public BypassPullRequestAllowanceConnection BypassPullRequestAllowances ( Arg < int > ? first = null , Arg < string > ? after = null , Arg < int > ? last = null , Arg < string > ? before = null ) => this . CreateMethodCall ( x => x . BypassPullRequestAllowances ( first , after , last , before ) , Octokit . GraphQL . Model . BypassPullRequestAllowanceConnection . Create ) ;
59+
3760 /// <summary>
3861 /// The actor who created this branch protection rule.
3962 /// </summary>
@@ -95,6 +118,11 @@ internal BranchProtectionRule(Expression expression) : base(expression)
95118 /// </summary>
96119 public IEnumerable < string > RequiredStatusCheckContexts { get ; }
97120
121+ /// <summary>
122+ /// List of required status checks that must pass for commits to be accepted to matching branches.
123+ /// </summary>
124+ public IQueryableList < RequiredStatusCheckDescription > RequiredStatusChecks => this . CreateProperty ( x => x . RequiredStatusChecks ) ;
125+
98126 /// <summary>
99127 /// Are approving reviews required to update matching branches.
100128 /// </summary>
0 commit comments