RepositoryRulesetRulesArgs

data class RepositoryRulesetRulesArgs(val branchNamePattern: Output<RepositoryRulesetRulesBranchNamePatternArgs>? = null, val commitAuthorEmailPattern: Output<RepositoryRulesetRulesCommitAuthorEmailPatternArgs>? = null, val commitMessagePattern: Output<RepositoryRulesetRulesCommitMessagePatternArgs>? = null, val committerEmailPattern: Output<RepositoryRulesetRulesCommitterEmailPatternArgs>? = null, val creation: Output<Boolean>? = null, val deletion: Output<Boolean>? = null, val nonFastForward: Output<Boolean>? = null, val pullRequest: Output<RepositoryRulesetRulesPullRequestArgs>? = null, val requiredDeployments: Output<RepositoryRulesetRulesRequiredDeploymentsArgs>? = null, val requiredLinearHistory: Output<Boolean>? = null, val requiredSignatures: Output<Boolean>? = null, val requiredStatusChecks: Output<RepositoryRulesetRulesRequiredStatusChecksArgs>? = null, val tagNamePattern: Output<RepositoryRulesetRulesTagNamePatternArgs>? = null, val update: Output<Boolean>? = null, val updateAllowsFetchAndMerge: Output<Boolean>? = null) : ConvertibleToJava<RepositoryRulesetRulesArgs>

Constructors

Link copied to clipboard
constructor(branchNamePattern: Output<RepositoryRulesetRulesBranchNamePatternArgs>? = null, commitAuthorEmailPattern: Output<RepositoryRulesetRulesCommitAuthorEmailPatternArgs>? = null, commitMessagePattern: Output<RepositoryRulesetRulesCommitMessagePatternArgs>? = null, committerEmailPattern: Output<RepositoryRulesetRulesCommitterEmailPatternArgs>? = null, creation: Output<Boolean>? = null, deletion: Output<Boolean>? = null, nonFastForward: Output<Boolean>? = null, pullRequest: Output<RepositoryRulesetRulesPullRequestArgs>? = null, requiredDeployments: Output<RepositoryRulesetRulesRequiredDeploymentsArgs>? = null, requiredLinearHistory: Output<Boolean>? = null, requiredSignatures: Output<Boolean>? = null, requiredStatusChecks: Output<RepositoryRulesetRulesRequiredStatusChecksArgs>? = null, tagNamePattern: Output<RepositoryRulesetRulesTagNamePatternArgs>? = null, update: Output<Boolean>? = null, updateAllowsFetchAndMerge: Output<Boolean>? = null)

Properties

Link copied to clipboard

(Block List, Max: 1) Parameters to be used for the branch_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with tag_name_pattern as it only applied to rulesets with target branch. (see below for nested schema)

Link copied to clipboard

(Block List, Max: 1) Parameters to be used for the commit_author_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

Link copied to clipboard

(Block List, Max: 1) Parameters to be used for the commit_message_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

Link copied to clipboard

(Block List, Max: 1) Parameters to be used for the committer_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

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

(Boolean) Only allow users with bypass permission to create matching refs.

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

(Boolean) Only allow users with bypass permissions to delete matching refs.

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

(Boolean) Prevent users with push access from force pushing to branches.

Link copied to clipboard

(Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)

Link copied to clipboard

(Block List, Max: 1) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. (see below for nested schema)

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

(Boolean) Prevent merge commits from being pushed to matching branches.

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

(Boolean) Commits pushed to matching branches must have verified signatures.

Link copied to clipboard

(Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see below for nested schema)

Link copied to clipboard

(Block List, Max: 1) Parameters to be used for the tag_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with branch_name_pattern as it only applied to rulesets with target tag. (see below for nested schema)

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

(Boolean) Only allow users with bypass permission to update matching refs.

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

(Boolean) Branch can pull changes from its upstream repository. This is only applicable to forked repositories. Requires update to be set to true. Note: behaviour is affected by a known bug on the GitHub side which may cause issues when using this parameter.

Functions

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