BandwidthOnDemand / nsi-safnari

A NSI Aggregator Coordinator
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Added githubTokenSource assignment #24

Closed jmacauley closed 2 years ago

jmacauley commented 2 years ago

Added githubTokenSource assignment from possible auth token environment variables so sbt stage will work for local build.

jmacauley commented 2 years ago

Added the following line to built.sbt:

githubTokenSource := TokenSource.GitConfig("github.token") || TokenSource.Environment("GITHUB_USERTOKEN") || TokenSource.Environment("GITHUB_TOKEN")

To correct local sbt stage action that was failing even though local environment variables where set.