Remove CancelJobsByJobConcurrency in PickTask

This commit is contained in:
Christopher Homberger 2025-07-13 23:15:43 +02:00
parent 91fccb7cc8
commit 2e6032a9f0

View File

@ -53,10 +53,6 @@ func PickTask(ctx context.Context, runner *actions_model.ActionRunner) (*runnerv
return nil
}
if err := CancelJobsByJobConcurrency(ctx, t.Job); err != nil {
return fmt.Errorf("CancelJobs: %w", err)
}
if err := t.LoadAttributes(ctx); err != nil {
return fmt.Errorf("task LoadAttributes: %w", err)
}