Description Usage Arguments Details Value Functions
Reading and writing GitHub Actions workflow files
1 2 3 4 5 6 7 | write_workflow(x, file = stdout(), ...)
r2yaml(x)
read_workflows(path = ".github/workflows")
read_workflow(file, ...)
|
x |
|
file |
either a character string naming a file or a connection open for writing |
... |
arguments to |
path |
|
It is not necessary to escape characters with special meaning in yaml; the underlying yaml::write_yaml() does this automatically.
If a workflow is not name:d, the file name will be used as a name: , as per the GitHub Actions documentation.
[list()] of lists from yaml.
write_workflow: Write one GitHub Actions workflow to file.
r2yaml: Convert R list to YAML string.
read_workflows: Read in one or more GitHub Actions workflows from file(s).
read_workflow: Read in one GitHub Actions workflow from a file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.