powered by
This function installs a GitHub Actions workflow in your repository. The workflow updates your CITATION.cff when any of these events occur:
CITATION.cff
You publish a new release of the package.
Your DESCRIPTION or inst/CITATION file is modified.
DESCRIPTION
inst/CITATION
The workflow can be run manually.
cff_gha_update(path = ".", overwrite = FALSE)
Invisible. This function is called for its side effects.
Project root directory.
A logical value. If TRUE, overwrite an existing workflow.
TRUE
Workflow triggers can be modified. See Events that trigger workflows.
Keep CITATION.cff up to date: cff_git_hook
cff_git_hook
if (FALSE) { cff_gha_update() }
Run the code above in your browser using DataLab