trigger-workflow
Initiate a workflow run in a GitHub repository using specified branch, tag, or commit reference to automate CI/CD processes and deployment tasks.
Instructions
Trigger a workflow run in a GitHub repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
inputs | No | Workflow inputs | |
owner | Yes | Repository owner | |
ref | Yes | Git reference (branch, tag, SHA) | |
repo | Yes | Repository name | |
workflow_id | Yes | Workflow ID or file name |
Input Schema (JSON Schema)
{
"properties": {
"inputs": {
"description": "Workflow inputs",
"type": "object"
},
"owner": {
"description": "Repository owner",
"type": "string"
},
"ref": {
"description": "Git reference (branch, tag, SHA)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"workflow_id": {
"description": "Workflow ID or file name",
"type": [
"string",
"number"
]
}
},
"required": [
"owner",
"repo",
"workflow_id",
"ref"
],
"type": "object"
}