PATCH
github_issues_update_label.py
from charter.packs import github
result = await github.issues_update_label.ainvoke({"owner": ..., "repo": ..., "name": ...})
Requires
repo, read:user.Path parameters
| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
name * | string | The current name of the label. |
Body
| Field | Type | Description |
|---|---|---|
newName | string | The new name of the label. |
color | string | The hexadecimal color code for the label, without the leading #. matches ^[0-9a-fA-F]{6}$ |
description | string | A short description of the label. Must be 100 characters or fewer. max length 100 |
archived | boolean | Whether to archive or unarchive the label. Archived labels cannot be added to issues or pull requests. |