Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reading GitHub token from a file #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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