ropensci-review-tools / roreviewapi

API endpoint for package reviews via ropensci-review-bot
https://docs.ropensci.org/roreviewapi
4 stars 1 forks source link

feat: use gitcreds that will fall back to the environment variable #55

Closed maelle closed 6 months ago

maelle commented 6 months ago

Fix #53

See https://gitcreds.r-lib.org/reference/gitcreds_get.html?q=GITHUB_TOKEN#migrating-from-the-github-pat-environment-variable and https://github.com/r-lib/gitcreds/blob/6d0cc82124f8acebc15d855550423481b0848c4c/tests/testthat/test-cache.R#L49

maelle commented 6 months ago

Done!