Class PullRequestFilter (2.0.2)

PullRequestFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

PullRequestFilter contains filter properties for matching GitHub Pull Requests.

Attributes

NameDescription
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.

Classes

CommentControl

CommentControl(value)

Controls behavior of Pull Request comments.