]> source.dussan.org Git - gitea.git/commitdiff
Fix log typo in task.go (#26337) (#26343)
authorGiteabot <teabot@gitea.io>
Sat, 5 Aug 2023 10:15:49 +0000 (18:15 +0800)
committerGitHub <noreply@github.com>
Sat, 5 Aug 2023 10:15:49 +0000 (10:15 +0000)
Backport #26337 by @cassiozareck

Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
models/actions/task.go

index fc63114d280e5d2ed63e32faa22e8592cdd47641..4bb702a364cbdc0994c48f6322759539e36464b0 100644 (file)
@@ -281,7 +281,7 @@ func CreateTaskForRunner(ctx context.Context, runner *ActionRunner) (*ActionTask
        if gots, err := jobparser.Parse(job.WorkflowPayload); err != nil {
                return nil, false, fmt.Errorf("parse workflow of job %d: %w", job.ID, err)
        } else if len(gots) != 1 {
-               return nil, false, fmt.Errorf("workflow of job %d: not signle workflow", job.ID)
+               return nil, false, fmt.Errorf("workflow of job %d: not single workflow", job.ID)
        } else {
                _, workflowJob = gots[0].Job()
        }