Description Usage Arguments Details Value Examples
This function updates a label for the specified repository in GitHub. It can be used to change name, color or description.
1 | update_label(label, repo, name, color, description, ...)
|
label |
(string) The name of the label. |
repo |
(string) The repository specified in the format: |
name |
(string, optional) The name of the label. |
color |
(string, optional) Either the color name (see
|
description |
(string, optional) A description of the label. |
... |
Parameters passed to |
For more details see the GitHub API documentation:
update_label()
returns a list of the label properties.
Label Properties:
name: The name of the label.
color: The color of the label in hexidecimal code.
description: The description of the label.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
update_label(
label = "new-label",
repo = "ChadGoymer/githapi",
name = "updated-label",
color = "green",
description = "This is an updated label"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.