TriggerRepositoryEventConfigPullRequest

data class TriggerRepositoryEventConfigPullRequest(val branch: String? = null, val commentControl: String? = null, val invertRegex: Boolean? = null)

Constructors

Link copied to clipboard
fun TriggerRepositoryEventConfigPullRequest(branch: String? = null, commentControl: String? = null, invertRegex: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val branch: String? = null

Regex of branches to match.

Link copied to clipboard
val commentControl: String? = null

Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values are COMMENTS_DISABLED, COMMENTS_ENABLED, and COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.

Link copied to clipboard
val invertRegex: Boolean? = null

If true, branches that do NOT match the git_ref will trigger a build.