Skip to content

Commit 67c05f7

Browse files
Add note that GitHub PATs expire, with a default expiration of 30 days. Fixes #36.
1 parent 9c4af4d commit 67c05f7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

R/aaa-doc.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
#'
5858
#' To set up password-less authentication to GitHub:
5959
#' 1. Create a personal access token (PAT). See
60-
#' https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token.
60+
#' <https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token>.
61+
#' Note that personal access tokens can expire, and the default expiration time is 30 days.
6162
#' 2. Call `gitcreds_set()` and give this token as the password.
6263
#' 3. Run `gitcreds_get(use_cache = FALSE)` to check that the new
6364
#' PAT is set up. To see the token, you can run

man/gitcreds_get.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)