Open tylere opened 1 year ago
My preference would be to make the breaking change to only allow the GITHUB_TOKEN
environment variable. @hamelsmu @jph00 what do you think?
I think it's helpful to be able to override the env var by having a file in a repo. I'm happy to get rid of the nbdev specific one though, as long as we show a deprecation warning for a while first if we see it is set.
There are currently several ways to store and use GitHub tokens within nbdev:
token
file in the root of your repo.GITHUB_TOKEN
.NBDEV_TOKEN
b. atoken
file in the root of your repo c. the environment variableGITHUB_TOKEN
This confused me earlier today, when the token in my 'token' file expired, and setting the GITHUB_TOKEN environment variable had no effect.
It would be beneficial to: