Add background audits of the default branch's newest commit
This commit is contained in:
@@ -284,7 +284,7 @@ func (m *Manager) leadTools(l *live) []mcp.Tool {
|
||||
}
|
||||
}
|
||||
if args.Workflow != "" {
|
||||
tasks, err := m.StartWorkflow(ctx, project, user, args.Title, base, leadActor(user.Login), args.Workflow, args.Prompt, nil)
|
||||
tasks, err := m.StartWorkflow(ctx, project, user, args.Title, base, leadActor(user.Login), args.Workflow, args.Prompt, nil, "")
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
@@ -897,7 +897,7 @@ func (m *Manager) listTasksText(ctx context.Context) (string, error) {
|
||||
listed := false
|
||||
started := map[string]bool{}
|
||||
for _, t := range tasks {
|
||||
if t.Status != api.TaskStatusActive {
|
||||
if t.Status != api.TaskStatusActive || t.Background {
|
||||
continue
|
||||
}
|
||||
listed = true
|
||||
|
||||
Reference in New Issue
Block a user