Documentation
¶
Overview ¶
Package github implements shared.Provider for Github.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Providers = []shared.Provider{ &shared.EnvProvider{EnvVars: []shared.EnvVar{{Name: "GITHUB_TOKEN"}, {Name: "GH_TOKEN"}}}, &GHProvider{}, }
Providers is a list of providers that can be used to retrieve a token for Github.
Functions ¶
This section is empty.
Types ¶
type GHProvider ¶
type GHProvider struct{}
GHProvider implements the [token.Provider] interface using the Github CLI to retrieve a token.
Click to show internal directories.
Click to hide internal directories.