GitHubEventsConfig Object

GitHubEventsConfig(
  x,
  event = c("push", "pull"),
  branch = ".*",
  tag = NULL,
  commentControl = c("COMMENTS_DISABLED", "COMMENTS_ENABLED")
)

Arguments

x

The repository in format owner/repo e.g. MarkEdmondson1234/googleCloudRunner

event

Whether to trigger on push or pull GitHub events

branch

Regex of branches to match

tag

If a push request, regexes matching what tags to build. If not NULL then argument branch will be ignored

commentControl

If a pull request, whether to require comments before builds are triggered.

Value

GitHubEventsConfig object

Details

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

See also