TriggerGithubPullRequest

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.