View source: R/buildtriggers_events.R
GitHubEventsConfig | R Documentation |
GitHubEventsConfig Object
GitHubEventsConfig( x, event = c("push", "pull"), branch = ".*", tag = NULL, commentControl = c("COMMENTS_DISABLED", "COMMENTS_ENABLED") )
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 |
commentControl |
If a pull request, whether to require comments before builds are triggered. |
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
GitHubEventsConfig object
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.