ci

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetectedRefs

type DetectedRefs struct {
	Provider  Provider
	EventType string
	Base      string
	Head      string
	Reason    string
	EnvVars   map[string]string
}

func DetectRefs

func DetectRefs(getenv func(string) string, readFile func(string) ([]byte, error)) DetectedRefs

type Provider

type Provider string
const (
	ProviderNone          Provider = ""
	ProviderGitHubActions Provider = "github-actions"
	ProviderGitLabCI      Provider = "gitlab-ci"
	ProviderBuildkite     Provider = "buildkite"
)

Jump to

Keyboard shortcuts

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