BranchProtectionRequiredPullRequestReviewArgs

data class BranchProtectionRequiredPullRequestReviewArgs(val dismissStaleReviews: Output<Boolean>? = null, val dismissalRestrictions: Output<List<String>>? = null, val pullRequestBypassers: Output<List<String>>? = null, val requireCodeOwnerReviews: Output<Boolean>? = null, val requireLastPushApproval: Output<Boolean>? = null, val requiredApprovingReviewCount: Output<Int>? = null, val restrictDismissals: Output<Boolean>? = null) : ConvertibleToJava<BranchProtectionRequiredPullRequestReviewArgs>

Constructors

constructor(dismissStaleReviews: Output<Boolean>? = null, dismissalRestrictions: Output<List<String>>? = null, pullRequestBypassers: Output<List<String>>? = null, requireCodeOwnerReviews: Output<Boolean>? = null, requireLastPushApproval: Output<Boolean>? = null, requiredApprovingReviewCount: Output<Int>? = null, restrictDismissals: Output<Boolean>? = null)

Properties

Link copied to clipboard
val dismissalRestrictions: Output<List<String>>? = null

The list of actor Names/IDs with dismissal access. If not empty, restrict_dismissals is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.

Link copied to clipboard
val dismissStaleReviews: Output<Boolean>? = null

Dismiss approved reviews automatically when a new commit is pushed. Defaults to false.

Link copied to clipboard
val pullRequestBypassers: Output<List<String>>? = null

The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.

Link copied to clipboard
val requireCodeOwnerReviews: Output<Boolean>? = null

Require an approved review in pull requests including files with a designated code owner. Defaults to false.

Link copied to clipboard
val requiredApprovingReviewCount: Output<Int>? = null

Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream documentation for more information. (https://developer.github.com/v3/repos/branches/#parameters-1) for more information.

Link copied to clipboard
val requireLastPushApproval: Output<Boolean>? = null

Require that The most recent push must be approved by someone other than the last pusher. Defaults to false

Link copied to clipboard
val restrictDismissals: Output<Boolean>? = null

Restrict pull request review dismissals.

Functions

Link copied to clipboard
open override fun toJava(): BranchProtectionRequiredPullRequestReviewArgs