PullRequestFilterArgs

data class PullRequestFilterArgs(val branch: Output<String>? = null, val commentControl: Output<PullRequestFilterCommentControl>? = null, val invertRegex: Output<Boolean>? = null) : ConvertibleToJava<PullRequestFilterArgs>

PullRequestFilter contains filter properties for matching GitHub Pull Requests.

Constructors

Link copied to clipboard
fun PullRequestFilterArgs(branch: Output<String>? = null, commentControl: Output<PullRequestFilterCommentControl>? = null, invertRegex: Output<Boolean>? = null)

Functions

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

Properties

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

Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

Link copied to clipboard

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

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

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