trigger-workflow
Initiate GitHub workflow executions by specifying repository details, workflow ID, Git reference, and inputs. Integrates with GitHub Enterprise API for streamlined process automation.
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)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"inputs": {
"additionalProperties": {
"type": "string"
},
"description": "Workflow inputs",
"type": "object"
},
"owner": {
"description": "Repository owner",
"minLength": 1,
"type": "string"
},
"ref": {
"description": "Git reference (branch, tag, SHA)",
"minLength": 1,
"type": "string"
},
"repo": {
"description": "Repository name",
"minLength": 1,
"type": "string"
},
"workflow_id": {
"description": "Workflow ID or file name",
"type": [
"string",
"number"
]
}
},
"required": [
"owner",
"repo",
"workflow_id",
"ref"
],
"type": "object"
}