Skip to content

Support reading GitHub token from a file#50

Open
jrouly wants to merge 1 commit intodjspiewak:masterfrom
jrouly:fromFile
Open

Support reading GitHub token from a file#50
jrouly wants to merge 1 commit intodjspiewak:masterfrom
jrouly:fromFile

Conversation

@jrouly
Copy link

@jrouly jrouly commented Mar 23, 2022

Loading the GitHub token from an environment variable is great, but IntelliJ has difficulty loading sbt projects because it doesn't always share the same environment variables with the user's shell, depending on how they are set.

Loading the GitHub token from the git config is also nice unless the user's git config is synchronized as a "dotfile" to a public repository.

Instead, I thought it might be nice to support loading credentials from arbitrary files, a la Credentials(Path.userHome / ".sbt" / ".credentials") in the sbt docs on credentials.

@djspiewak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants