File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 2121
2222 - uses : r-lib/actions/setup-r-dependencies@v2
2323 with :
24- packages : gh
24+ packages : |
25+ gh
26+ glue
2527
2628 - name : Check for existing CRAN issues
2729 id : check-issues
@@ -57,11 +59,11 @@ jobs:
5759 "POST /repos/{owner_repo}/issues",
5860 owner_repo = Sys.getenv("GITHUB_REPOSITORY"),
5961 title = paste("Fix CRAN R CMD check issues by", deadline),
60- body = paste0 (
61- "This package is failing CRAN checks and is at risk of archival.\n ",
62- "https://cran.r-project.org/web/checks/check_results_",
63- pkgname ,
64- ".html "
62+ body = glue::glue (
63+ "This package is failing CRAN checks and is at risk of archival.",
64+ "https://cran.r-project.org/web/checks/check_results_{pkgname}.html ",
65+ "This issue was opened by https://github.com/{Sys.getenv('GITHUB_REPOSITORY')}/actions/runs/{Sys.getenv('GITHUB_RUN_ID')}." ,
66+ .sep = "\n\n "
6567 ),
6668 labels = list("cran-deadline")
6769 )
You can’t perform that action at this time.
0 commit comments