BranchProtectionV3RequiredPullRequestReviewsArgs

data class BranchProtectionV3RequiredPullRequestReviewsArgs(val bypassPullRequestAllowances: Output<BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs>? = null, val dismissStaleReviews: Output<Boolean>? = null, val dismissalApps: Output<List<String>>? = null, val dismissalTeams: Output<List<String>>? = null, val dismissalUsers: Output<List<String>>? = null, val includeAdmins: Output<Boolean>? = null, val requireCodeOwnerReviews: Output<Boolean>? = null, val requiredApprovingReviewCount: Output<Int>? = null) : ConvertibleToJava<BranchProtectionV3RequiredPullRequestReviewsArgs>

Constructors

constructor(bypassPullRequestAllowances: Output<BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs>? = null, dismissStaleReviews: Output<Boolean>? = null, dismissalApps: Output<List<String>>? = null, dismissalTeams: Output<List<String>>? = null, dismissalUsers: Output<List<String>>? = null, includeAdmins: Output<Boolean>? = null, requireCodeOwnerReviews: Output<Boolean>? = null, requiredApprovingReviewCount: Output<Int>? = null)

Properties

Link copied to clipboard

Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details.

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

The list of app slugs with dismissal access.

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

The list of team slugs with dismissal access. Always use slug of the team, not its name. Each team already has to have access to the repository.

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

The list of user logins with dismissal access

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 includeAdmins: Output<Boolean>? = null
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.

Functions

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