cdfa34e0a9
* Order list_label results by issue count (descending)
Sends orderBy: {field: ISSUE_COUNT, direction: DESC} on the GraphQL
labels query so the most-used labels (by issue count) are returned
first. ISSUE_COUNT is accepted by the GitHub GraphQL API but is not
part of the public schema docs or the githubv4 client library's
LabelOrderField constants, so it is defined locally.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* regen docs
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
26 lines
682 B
Plaintext
26 lines
682 B
Plaintext
{
|
|
"annotations": {
|
|
"idempotentHint": false,
|
|
"readOnlyHint": true,
|
|
"title": "List labels from a repository"
|
|
},
|
|
"description": "List labels from a repository, ordered by issue count (descending) so the most-used labels are returned first",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"owner": {
|
|
"description": "Repository owner (username or organization name) - required for all operations",
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name - required for all operations",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "list_label"
|
|
} |