mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-10 23:28:58 +00:00
Fix leftover from the testing, use GITHUB_TOKEN.
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func checkLatestRelease() (string, bool) {
|
||||
ghToken, ghTokenSet := os.LookupEnv("GHCR_TOKEN")
|
||||
ghToken, ghTokenSet := os.LookupEnv("GITHUB_TOKEN")
|
||||
if ghTokenSet {
|
||||
gql.GraphQLUrl = "https://api.github.com/graphql"
|
||||
headers := map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user