We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a444520 commit 21fdf0bCopy full SHA for 21fdf0b
github/auth.go
@@ -30,6 +30,9 @@ import (
30
const (
31
// DefaultDomain specifies the default domain used as the backend.
32
DefaultDomain = "github.com"
33
+ // TokenVariable is the common name for the environment variable
34
+ // containing a GitHub authentication token.
35
+ TokenVariable = "GITHUB_TOKEN" // #nosec G101
36
)
37
38
// ClientOption is the interface to implement for passing options to NewClient.
0 commit comments