Skip to contents

This function installs a GitHub Actions workflow in your repository. The workflow updates your .zenodo.json file from the package DESCRIPTION when any of these events occur:

  • You publish a new release of the package.

  • Your DESCRIPTION or inst/CITATION file is modified.

  • The action can be run manually.

Usage

zenodo_gha_update(path = ".", overwrite = FALSE)

Arguments

path

Project root directory.

overwrite

A logical value. If TRUE, overwrite an existing workflow.

Details

Workflow triggers can be modified. See Events that trigger workflows.

Examples

if (FALSE) { # \dontrun{
zenodo_gha_update()
} # }