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 Nov. 2, 2023, 5:21 p.m.