workflow: Create nested list for a workflow block

Description Usage Arguments See Also Examples

View source: R/syntax.R

Description

Create nested list for a workflow block

Usage

1
workflow(name = NULL, on = "push", jobs = NULL)

Arguments

name

[character(1)] giving the name of the workflow. Defaults to NULL, for no name, in which case GitHub will use the file name.

on

[character()] giving the GitHub Event on which to trigger the workflow. Must be a subset of ghactions_events. Defaults to "push", in which case the workflow is triggered on every push event. Can also be a named list as returned by on() for additional filters.

jobs

[list()] giving a named list of jobs, with each list element as returned by job().

See Also

Other syntax: container(), gh_matrix(), ghactions_events, ghactions_vms, job(), on(), step(), strategy()

Examples

1
2
3
4
5
workflow(
  name = "Render",
  on = "push",
  jobs = NULL
)

r-lib/ghactions documentation built on Dec. 15, 2020, 4:07 p.m.