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