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>
38 lines
912 B
Plaintext
38 lines
912 B
Plaintext
{
|
|
"annotations": {
|
|
"title": "Run workflow"
|
|
},
|
|
"description": "Run an Actions workflow by workflow ID or filename",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"inputs": {
|
|
"description": "Inputs the workflow accepts",
|
|
"type": "object"
|
|
},
|
|
"owner": {
|
|
"description": "Repository owner",
|
|
"type": "string"
|
|
},
|
|
"ref": {
|
|
"description": "The git reference for the workflow. The reference can be a branch or tag name.",
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name",
|
|
"type": "string"
|
|
},
|
|
"workflow_id": {
|
|
"description": "The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml)",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"workflow_id",
|
|
"ref"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "run_workflow"
|
|
} |