cleanup and fix webhook type bug

This commit is contained in:
Christopher Homberger committed 2025-03-17 20:17:42 +01:00
1 parent a178e4be7a
commit 295bf45d5c
2 files changed
+21 -4

No files matched your search

+1 -1
View File
@@ -992,7 +992,7 @@ func (*webhookNotifier) WorkflowRunStatusUpdate(ctx context.Context, repo *repo_
return
}
if err := PrepareWebhooks(ctx, source, webhook_module.HookEventWorkflowJob, &api.WorkflowRunPayload{
if err := PrepareWebhooks(ctx, source, webhook_module.HookEventWorkflowRun, &api.WorkflowRunPayload{
Action: status,
Workflow: nil,
WorkflowRun: convertedRun,