use_grk_github_labels(labels_yaml = NULL, ..., delete_default = TRUE)
Arguments
| labels_yaml |
Path to a yaml file specifying the issue labels, or a
list in the same format as the parsed yaml file. Each label should be in
formatted as follows: - label: "status: planned"
color: bbd5af
description: Planning to implement
View the grkmisc default github issue labels YAML file with system.file("github-issues.yaml", package = "grkmisc")
Note: color or colour are accepted spellings. |
| ... |
Arguments passed on to usethis::use_github_labels
repo_specOptional repository specification (owner/repo) if you
don't want to target the current project.
labelsA character vector giving labels to add.
renameA named vector with names giving old names and values giving
new names.
coloursNamed character vectors giving hexadecimal
colours (like e02a2a) and longer descriptions. The names should match
label names, and anything unmatched will be left unchanged. If you
create a new label, and don't supply colours, it will be given a random
colour.
descriptionsNamed character vectors giving hexadecimal
colours (like e02a2a) and longer descriptions. The names should match
label names, and anything unmatched will be left unchanged. If you
create a new label, and don't supply colours, it will be given a random
colour.
delete_defaultIf TRUE, removes GitHub default labels that do
not appear in the labels vector and that do not have associated issues.
auth_tokenGitHub personal access token (PAT).
hostGitHub API host to use. Override with the endpoint-root for your
GitHub enterprise instance, for example,
"https://github.hostname.com/api/v3".
|