-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature request: Respect GH_PAT
, GITHUB_TOKEN
, or GH_TOKEN
in addition to GITHUB_PAT
#1937
Comments
We do try to use Lines 547 to 550 in 65ac9cb
Does |
There's quite a few places where we use |
On the other hand, looking through the link recommended by the error message (https://usethis.r-lib.org/articles/git-credentials.html)...
and
So maybe the whole envar thing is an antipattern. On the other other hand,
so at the end of the day I'm not sure that introducing the extra dependency here actually does all that much for security. |
It looks like While gitcreds respects |
Should be resolved in 37f5b31 -- let me know if all seems well on your side. |
I believe the
gh
utility will use any of these environment variable as a PAT; pretty sureGITHUB_TOKEN
is the recommended one (though the docs are a bit unclear).The text was updated successfully, but these errors were encountered: