87a1110c15
Sort all JSON object keys alphabetically at every level in toolsnaps by unmarshaling and remarshaling. This leverages Go's built-in behavior where json.Marshal automatically sorts map keys alphabetically, ensuring consistent field ordering and eliminating noop churn in diffs. Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
{
|
|
"annotations": {
|
|
"readOnlyHint": true,
|
|
"title": "Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)"
|
|
},
|
|
"description": "Get details about specific GitHub Actions resources.\nUse this tool to get details about individual workflows, workflow runs, jobs, and artifacts by their unique IDs.\n",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"method": {
|
|
"description": "The method to execute",
|
|
"enum": [
|
|
"get_workflow",
|
|
"get_workflow_run",
|
|
"get_workflow_job",
|
|
"download_workflow_run_artifact",
|
|
"get_workflow_run_usage",
|
|
"get_workflow_run_logs_url"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"owner": {
|
|
"description": "Repository owner",
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name",
|
|
"type": "string"
|
|
},
|
|
"resource_id": {
|
|
"description": "The unique identifier of the resource. This will vary based on the \"method\" provided, so ensure you provide the correct ID:\n- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'get_workflow' method.\n- Provide a workflow run ID for 'get_workflow_run', 'get_workflow_run_usage', and 'get_workflow_run_logs_url' methods.\n- Provide an artifact ID for 'download_workflow_run_artifact' method.\n- Provide a job ID for 'get_workflow_job' method.\n",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"method",
|
|
"owner",
|
|
"repo",
|
|
"resource_id"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "actions_get"
|
|
} |