Skip to content

Commit

Permalink
chore: renames token env var to GHC_GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszmajsak committed Sep 19, 2019
1 parent ce06116 commit 72bdfdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/github/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

func CreateClient() *githubv4.Client {
src := oauth2.StaticTokenSource(
&oauth2.Token{AccessToken: os.Getenv("GITHUB_TOKEN")},
&oauth2.Token{AccessToken: os.Getenv("GHC_GITHUB_TOKEN")},
)
httpClient := oauth2.NewClient(context.Background(), src)
gh := githubv4.NewClient(httpClient)
Expand Down

0 comments on commit 72bdfdd

Please sign in to comment.