API Reference
Class
GitHubReadinessBranchProtection
Classic base-branch protection evidence. Repository rulesets can impose additional gates.
Inheritance
- Object
- GitHubReadinessBranchProtection
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Accepted by parameters 5
Constructors
public GitHubReadinessBranchProtection() #Methods
public GitHubReadinessBranchProtection <Clone>$() #Returns:
GitHubReadinessBranchProtectionEquals 2 overloads
public override Int32 GetHashCode() #Returns:
Int32public static Boolean op_Equality(GitHubReadinessBranchProtection? left, GitHubReadinessBranchProtection? right) #Returns:
BooleanParameters
- left GitHubReadinessBranchProtection?
- right GitHubReadinessBranchProtection?
public static Boolean op_Inequality(GitHubReadinessBranchProtection? left, GitHubReadinessBranchProtection? right) #Returns:
BooleanParameters
- left GitHubReadinessBranchProtection?
- right GitHubReadinessBranchProtection?
public override String ToString() #Returns:
StringInherited Methods
Properties
public Boolean RequiresApprovingReviews { get; init; } #Whether approving reviews are required.
public Int32 RequiredApprovingReviewCount { get; init; } #Configured minimum approving reviews.
public Boolean RequiresCodeOwnerReviews { get; init; } #Whether code-owner approval is required.
public Boolean RequireLastPushApproval { get; init; } #Whether the latest push needs approval.
public Boolean DismissesStaleReviews { get; init; } #Whether pushes dismiss stale approvals.
public Boolean RequiresConversationResolution { get; init; } #Whether conversations must be resolved.
public Boolean RequiresStatusChecks { get; init; } #Whether status checks are required.
public Boolean RequiresStrictStatusChecks { get; init; } #Whether checks require an up-to-date branch.
public IReadOnlyList<String> RequiredStatusCheckContexts { get; init; } #Required status context names exposed by the rule.