R/is_gha.R
is_gha.Rd
Tests whether a function is currently being run within a GitHub Actions workflow or not.
is_gha(var = "GITHUB_ACTION", verbose = TRUE)
GitHub Actions docs
Environmental variable to check.
Print messages.
Boolean
is_gha() #> Currently running on GITHUB_ACTION: __neurogenomics_rworkflows #> [1] TRUE