GitHubEventsConfig: GitHubEventsConfig Object

View source: R/buildtriggers_events.R

GitHubEventsConfigR Documentation

GitHubEventsConfig Object

Description

GitHubEventsConfig Object

Usage

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.

Details

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

Value

GitHubEventsConfig object

See Also

Other BuildTrigger functions: BuildTrigger(), cr_buildtrigger_copy(), cr_buildtrigger_delete(), cr_buildtrigger_edit(), cr_buildtrigger_get(), cr_buildtrigger_list(), cr_buildtrigger_pubsub(), cr_buildtrigger_repo(), cr_buildtrigger_run(), cr_buildtrigger_webhook(), cr_buildtrigger()


googleCloudRunner documentation built on March 18, 2022, 8 p.m.