Skip to content

Commit

Permalink
change per_page
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Feb 29, 2024
1 parent e364016 commit 3093c4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/find_issue.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ if (!is.character(repo)) {

install.packages('gh', repos='http://cran.us.r-project.org')

my_issues <- gh::gh("GET https://api.github.com/repos/{repo}/issues", repo = repo, .token = git_pat, per_page = "max")
my_issues <- gh::gh("GET https://api.github.com/repos/{repo}/issues",
repo = repo,
.token = git_pat,
per_page = 100)
my_issues <- unlist(my_issues)
issue_titles <- my_issues[which(names(my_issues) == "title")]

Expand Down

0 comments on commit 3093c4c

Please sign in to comment.