Move GetActionWorkflow to convert

This commit is contained in:
Christopher Homberger
2025-03-17 20:40:27 +01:00
parent 392baec50b
commit fb8a221d7f
3 changed files with 96 additions and 95 deletions
+3
View File
@@ -986,6 +986,9 @@ func (*webhookNotifier) WorkflowRunStatusUpdate(ctx context.Context, repo *repo_
status, _ := convert.ToActionsStatus(run.Status)
// TODO get gitrepo instance
// convertedWorkflow, err := convert.GetActionWorkflow(ctx, nil, nil, run.WorkflowID)
convertedRun, err := convert.ToActionWorkflowRun(repo, run)
if err != nil {
log.Error("ToActionWorkflowRun: %v", err)