POST
github_issues_create_label.py
from charter.packs import github
result = await github.issues_create_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. |
Body
| Field | Type | Description |
|---|---|---|
name * | string | The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup, for example :bug:. |
color | string | The hexadecimal color code for the label, without the leading # — d73a4a, not #d73a4a. matches ^[0-9a-fA-F]{6}$ |
description | string | A short description of the label. Must be 100 characters or fewer. max length 100 |