json
OpenAPI source{
"allOf": [
{
"$ref": "#/components/schemas/GitHubAgenticWorkflowTriggerSpec"
},
{
"type": "object",
"properties": {
"branches": {
"description": "Optional list of branch (or, for workflow_dispatch, branch or tag) names to filter\non. When omitted, events on any branch match.\n",
"type": "array",
"items": {
"type": "string"
}
},
"branchRegex": {
"description": "Optional RE2 regular expression matched against the complete branch name.\nMutually exclusive with `branches`. Matching is case-sensitive unless the pattern\nincludes a flag such as `(?i)`.\n",
"type": "string"
},
"workflowNames": {
"description": "Optional list of workflow names to filter on. For workflow_run/workflow_job this is\nthe workflow's display name (e.g., `CI`, `Deploy`); for workflow_dispatch it is the\nworkflow's file path relative to the repository root (e.g.,\n`.github/workflows/ci.yml`). When omitted, events from any workflow match.\n",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
}