Get GitHub rate limit

get_gh_ratelimit(github_token = Sys.getenv("GITHUB_PAT"))

Arguments

github_token

token passed to gh (default: Sys.getenv("GITHUB_PAT")

Value

overview of rate limit

Examples

get_gh_ratelimit()
#> # A tibble: 6 x 5 #> id limit used remaining reset #> <chr> <int> <int> <int> <int> #> 1 core 5000 1004 3996 1626069790 #> 2 search 30 0 30 1626067588 #> 3 graphql 5000 28 4972 1626068358 #> 4 integration_manifest 5000 0 5000 1626071128 #> 5 source_import 100 0 100 1626067588 #> 6 code_scanning_upload 500 0 500 1626071128