PullRequestFilter contains filter properties for matching
GitHub Pull Requests.
Attributes
Name
Description
branch
str
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
comment_control
.cloudbuild.PullRequestFilter.CommentControl
Whether to block builds on a "/gcbrun"
comment from a repository admin or collaborator.
invert_regex
bool
If true, branches that do NOT match the git_ref will trigger
a build.