is_gha {rworkflows} | R Documentation |
Is GitHub Action
Description
Tests whether a function is currently being run within a GitHub Actions workflow or not.
Usage
is_gha(var = "GITHUB_ACTION", verbose = TRUE)
Arguments
var |
Environmental variable to check. |
verbose |
Print messages. |
Value
Boolean
Source
Examples
is_gha()
[Package rworkflows version 1.0.1 Index]