From 6df185423d9dcd440982fb882dfaea1d0f46b8e3 Mon Sep 17 00:00:00 2001 From: Christopher Homberger Date: Fri, 21 Mar 2025 12:27:21 +0100 Subject: [PATCH] .. --- services/actions/notifier_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/actions/notifier_helper.go b/services/actions/notifier_helper.go index 3b07cc688e..cc6b1eb09a 100644 --- a/services/actions/notifier_helper.go +++ b/services/actions/notifier_helper.go @@ -265,7 +265,7 @@ func skipWorkflows(input *notifyInput, commit *git.Commit) bool { } if input.Event == webhook_module.HookEventWorkflowRun { wrun, ok := input.Payload.(*api.WorkflowRunPayload) - if ok && wrun.WorkflowRun != nil && wrun.WorkflowRun.Event != "workflow_run" { + if ok && wrun.WorkflowRun != nil && wrun.WorkflowRun.Event == "workflow_run" { // skip workflow runs triggered by another workflow run // TODO GitHub allows chaining up to 5 of them log.Debug("repo %s: skipped workflow_run because of recursive event", input.Repo.RepoPath())