Learn R Programming

rworkflows (version 1.0.6)

is_gha: 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)

Value

Boolean

Arguments

var

Environmental variable to check.

verbose

Print messages.

Examples

Run this code
is_gha()

Run the code above in your browser using DataLab