BranchProtectionRestrictPushArgs

data class BranchProtectionRestrictPushArgs(val blocksCreations: Output<Boolean>? = null, val pushAllowances: Output<List<String>>? = null) : ConvertibleToJava<BranchProtectionRestrictPushArgs>

Constructors

Link copied to clipboard
constructor(blocksCreations: Output<Boolean>? = null, pushAllowances: Output<List<String>>? = null)

Properties

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

Boolean, setting this to false allows people, teams, or apps to create new branches matching this rule. Defaults to true.

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

A list of actor Names/IDs that may push to the branch. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. Organization administrators, repository administrators, and users with the Maintain role on the repository can always push when all other requirements have passed.

Functions

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