You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can compose these using ||, which should resolve the issue, at least in theory
I have this in my project:
githubTokenSource in ThisBuild := TokenSource.GitConfig("github.token") || TokenSource.Environment("GITHUB_USERTOKEN") || TokenSource.Environment("GITHUB_TOKEN")
When I open sbt and peform update, I get following error:
(credentials) unable to locate a valid GitHub token from Environment(GITHUB_TOKEN)
I have the token present in the .githubconfig file, therefore I do not understand why it is trying to load it from GITHUB_TOKEN. The configuration has worked fine with 0.3.1 and 0.3.2, but not with 0.4.0
It is possible to define a dummy GITHUB_TOKEN environment variable as as a workaround.
The text was updated successfully, but these errors were encountered:
Related to #16
I have this in my project:
When I open sbt and peform
update
, I get following error:(credentials) unable to locate a valid GitHub token from Environment(GITHUB_TOKEN)
I have the token present in the .githubconfig file, therefore I do not understand why it is trying to load it from
GITHUB_TOKEN
. The configuration has worked fine with 0.3.1 and 0.3.2, but not with 0.4.0It is possible to define a dummy
GITHUB_TOKEN
environment variable as as a workaround.The text was updated successfully, but these errors were encountered: