Add ggsegverse GitHub Actions workflows to a package
Source:R/github_actions.R
use_atlas_github_actions.RdWrites caller stubs for the shared workflows maintained in
ggsegverse/.github into
.github/workflows/. Each stub is a short uses: block, so a package
picks up changes to the shared workflow without needing to be updated
itself.
Usage
use_atlas_github_actions(
workflows = atlas_github_actions(),
path = ".",
overwrite = FALSE
)Details
Run this on a newly scaffolded atlas package, or on an existing one to
replace hand-maintained workflows with the shared set.
setup_atlas_repo() calls it for you unless github_actions = FALSE.
The workflows written by default are:
R-CMD-check— multi-platformR CMD checkcode-quality— air, lintr, and goodpracticepkgdown— build and deploy the documentation siterender-readme— re-renderREADME.qmdon changeupdate-codemeta— refreshcodemeta.jsonwhen DESCRIPTION changes