cff_gha_update {cffr} | R Documentation |
Install a cffr GitHub Action
Description
This function would install a GitHub Action on your repo. The action will
update your CITATION.cff
when any of these events occur:
You publish a new release of the package.
Your
DESCRIPTION
orinst/CITATION
are modified.The action can be run also manually.
Usage
cff_gha_update(path = ".", overwrite = FALSE)
Arguments
path |
Project root directory. |
overwrite |
Logical. If already present, do you want to overwrite your action? |
Details
Triggers on your action can be modified, see Events that trigger workflows.
Value
Invisible, this function is called by its side effects.
See Also
Other Git/GitHub helpers provided by cffr:
cff_git_hook
Examples
## Not run:
cff_gha_update()
## End(Not run)
[Package cffr version 1.1.0 Index]