silverwind authored and GitHub committed 2023-10-24 02:54:59 +00:00
1 parent def907de7b
commit ce83609ff6
18 files changed
+105 -119

No files matched your search

+1 -1
View File
@@ -279,7 +279,7 @@ func CreateTaskForRunner(ctx context.Context, runner *ActionRunner) (*ActionTask
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 single workflow", job.ID)
} else {
} else { //nolint:revive
_, workflowJob = gots[0].Job()
}