trigger_workflow
Trigger a specific GitHub Actions workflow by specifying the repository, workflow ID, and reference. Input parameters can be customized to control workflow execution.
Instructions
Trigger a workflow run
Input Schema
Name | Required | Description | Default |
---|---|---|---|
inputs | No | Input parameters for the workflow | |
owner | Yes | Repository owner | |
ref | Yes | The reference to run the workflow on (branch, tag, or SHA) | |
repo | Yes | Repository name | |
workflowId | Yes | The ID of the workflow, filename, or display name as defined in the workflow file's 'name:' field |
Input Schema (JSON Schema)
{
"properties": {
"inputs": {
"description": "Input parameters for the workflow",
"type": "object"
},
"owner": {
"description": "Repository owner",
"type": "string"
},
"ref": {
"description": "The reference to run the workflow on (branch, tag, or SHA)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"workflowId": {
"description": "The ID of the workflow, filename, or display name as defined in the workflow file's 'name:' field",
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"required": [
"owner",
"repo",
"workflowId",
"ref"
],
"type": "object"
}