Start a workflow from the switcher
This commit is contained in:
+3
-1
@@ -185,7 +185,7 @@ export interface paths {
|
||||
};
|
||||
get: operations["listTasks"];
|
||||
put?: never;
|
||||
/** @description Creates the task's branch and worktree from the project's default branch. */
|
||||
/** @description Creates the task's branch and worktree from the project's default branch, or with workflow, starts a run of that workflow from it. */
|
||||
post: operations["createTask"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
@@ -978,6 +978,8 @@ export interface components {
|
||||
};
|
||||
TaskCreate: {
|
||||
title: string;
|
||||
/** @description The name of a saved workflow to run instead of creating one task with no agent: each stage with no after stages becomes its own task, titled "<title>: <stage>", with the title as the run's brief. The response is the first of those tasks. */
|
||||
workflow?: string;
|
||||
};
|
||||
WorkflowSummary: {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user