use cached task instance if available

This commit is contained in:
Christopher Homberger committed 2025-03-17 20:13:33 +01:00
1 parent 20f5d6ee95
commit a178e4be7a
3 files changed
+16 -9

No files matched your search

+1 -1
View File
@@ -956,7 +956,7 @@ func (*webhookNotifier) WorkflowJobStatusUpdate(ctx context.Context, repo *repo_
status, _ := convert.ToActionsStatus(job.Status)
convertedJob, err := convert.ToActionWorkflowJob(ctx, repo, job)
convertedJob, err := convert.ToActionWorkflowJob(ctx, repo, task, job)
if err != nil {
log.Error("ToActionWorkflowJob: %v", err)
return