r-lib / credentials

Tools for Managing SSH and Git Credentials
https://docs.ropensci.org/credentials
Other
72 stars 5 forks source link

Allow GITHUB_TOKEN as well as GITHUB_PAT #14

Open mpadge opened 3 years ago

mpadge commented 3 years ago

Some but not all R packages which use git credentials are hard-coded to expect tokens to be stored as GITHUB_PAT only. The official GitHub cli now only accepts tokens stored as GITHUB_TOKEN. GitHub should be granted the authority here to specify token nomenclature, so it would be good if GITHUB_TOKEN worked in all credentials processes.