Branch Protection Restrict Push Args
data class BranchProtectionRestrictPushArgs(val blocksCreations: Output<Boolean>? = null, val pushAllowances: Output<List<String>>? = null) : ConvertibleToJava<BranchProtectionRestrictPushArgs>
Properties
Link copied to clipboard
Boolean, setting this to false
allows people, teams, or apps to create new branches matching this rule. Defaults to true
.
Link copied to clipboard
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.