github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/cmd/state-exec/condition.go (about)

     1  package main
     2  
     3  import "os"
     4  
     5  // inActiveStateCI is copied from the internal/condition package (to minimize dependencies).
     6  func inActiveStateCI() bool {
     7  	return os.Getenv("ACTIVESTATE_CI") == "true"
     8  }