aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorcassiozareck <121526696+cassiozareck@users.noreply.github.com>2023-08-05 06:43:03 -0300
committerGitHub <noreply@github.com>2023-08-05 11:43:03 +0200
commit952882fe4ab6950ca0fb33af3885cb3347d46e78 (patch)
tree90529b703309e098599c9b4fa65ebf7712d00c25 /models
parent2d3924d0e7c7fd164789b691168cead2d0171bc4 (diff)
downloadgitea-952882fe4ab6950ca0fb33af3885cb3347d46e78.tar.gz
gitea-952882fe4ab6950ca0fb33af3885cb3347d46e78.zip
Fix log typo in task.go (#26337)
Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
Diffstat (limited to 'models')
-rw-r--r--models/actions/task.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/actions/task.go b/models/actions/task.go
index 9cc0fd0df8..b31afb2126 100644
--- a/models/actions/task.go
+++ b/models/actions/task.go
@@ -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()
}