From d52a768aaddddbb24d987cd8c05e409a6edcbc12 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Mon, 30 Oct 2023 17:05:19 -0500 Subject: [PATCH] Add upkeep label --- R/upkeep.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/upkeep.R b/R/upkeep.R index d09d00a2e..3d3617b09 100644 --- a/R/upkeep.R +++ b/R/upkeep.R @@ -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)