use_github_action_pkgcheck
Use pkgcheck Github Action
Description
Creates a Github workflow file in dir
integrate pkgcheck()
into your CI.
Usage
use_github_action_pkgcheck(
dir = ".github/workflows",
overwrite = FALSE,
file_name = "pkgcheck.yaml",
branch = gert::git_branch(),
inputs = NULL
)
Arguments
Argument |
Description |
---|---|
|
Directory the file is written to. |
|
Overwrite existing file? |
|
Name of the workflow file. |
|
Name of git branch for checks to run; defaults to currently active branch. |
|
Named list of inputs to the |
Details
For more information on the action and advanced usage visit the action repository .
Value
The path to the new file, invisibly.
Seealso
Other github:
get_default_github_branch
,
get_gh_token
,
get_latest_commit
Examples
use_github_action_pkgcheck (inputs = list (`post-to-issue` = "false"))
use_github_action_pkgcheck (branch = "main")