0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 14:44:12 +01:00

Fix log typo in task.go (#26337)

Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
This commit is contained in:
cassiozareck 2023-08-05 06:43:03 -03:00 committed by GitHub
parent 2d3924d0e7
commit 952882fe4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,7 +278,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()
}