Skip to content

Commit

Permalink
Add upkeep label
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Oct 30, 2023
1 parent 274c0d9 commit d52a768
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/upkeep.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ make_upkeep_issue <- function(year, tidy) {
issue <- gh(
"POST /repos/{owner}/{repo}/issues",
title = glue("Upkeep for {project_name()} ({title_year})"),
body = paste0(checklist, "\n", collapse = "")
body = paste0(checklist, "\n", collapse = ""),
labels = if (tidy) list("upkeep")
)
Sys.sleep(1)
view_url(issue$html_url)
Expand Down

0 comments on commit d52a768

Please sign in to comment.