View source: R/cff_gha_update.R
cff_gha_update | R Documentation |
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
or inst/CITATION
are modified.
The action can be run also manually.
cff_gha_update(path = ".", overwrite = FALSE)
path |
Project root directory. |
overwrite |
Logical. If already present, do you want to overwrite your action? |
Triggers on your action can be modified, see Events that trigger workflows.
Invisible, this function is called by its side effects.
Other Git/GitHub helpers provided by cffr:
cff_git_hook
## Not run:
cff_gha_update()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.