ci

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: MIT Imports: 3 Imported by: 5

Documentation

Overview

ci helps identify when a task is running in a ci context and not interactively Currently this supports checking: 1. Azure DevOps 2. GitHub Actions

Any calling packages can just run `isci := ci.IsCI()`

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCI

func IsCI() bool

IsCI will set the global variable for IsCI based on lookup of the environment variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL