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_spec Optional repository specification (owner/repo ) if you
don't want to target the current project.
labels A character vector giving labels to add.
rename A named vector with names giving old names and values giving
new names.
colours Named 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.
descriptions Named 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_default If TRUE , removes GitHub default labels that do
not appear in the labels vector and that do not have associated issues.
auth_token GitHub personal access token (PAT).
host GitHub API host to use. Override with the endpoint-root for your
GitHub enterprise instance, for example,
"https://github.hostname.com/api/v3".
|