Skip to content

Commit

Permalink
Add note that GitHub PATs expire, with a default expiration of 30 days.
Browse files Browse the repository at this point in the history
Fixes #36.
  • Loading branch information
melissavanbussel committed Aug 15, 2024
1 parent 9c4af4d commit 67c05f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/aaa-doc.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
#'
#' To set up password-less authentication to GitHub:
#' 1. Create a personal access token (PAT). See
#' https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token.
#' <https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token>.
#' Note that personal access tokens can expire, and the default expiration time is 30 days.
#' 2. Call `gitcreds_set()` and give this token as the password.
#' 3. Run `gitcreds_get(use_cache = FALSE)` to check that the new
#' PAT is set up. To see the token, you can run
Expand Down
3 changes: 2 additions & 1 deletion man/gitcreds_get.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 67c05f7

Please sign in to comment.