powered by
This function would install a GitHub Action on your repo. The action will update your CITATION.cff when any of these events occur:
CITATION.cff
You publish a new release of the package.
Your DESCRIPTION or inst/CITATION are modified.
DESCRIPTION
inst/CITATION
The action can be run also manually.
cff_gha_update(path = ".", overwrite = FALSE)
Invisible, this function is called by its side effects.
Project root directory.
Logical. If already present, do you want to overwrite your action?
Triggers on your action can be modified, see Events that trigger workflows.
Other Git/GitHub helpers provided by cffr: cff_git_hook
cff_git_hook
if (FALSE) { cff_gha_update() }
Run the code above in your browser using DataLab