is_gha: Is GitHub Action

View source: R/is_gha.R

is_ghaR 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

GitHub Actions docs

Examples

is_gha()

rworkflows documentation built on Sept. 23, 2024, 1:08 a.m.