Skip to content

Commit 6df1854

Browse files
committed
..
1 parent 5a0f4c9 commit 6df1854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/actions/notifier_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func skipWorkflows(input *notifyInput, commit *git.Commit) bool {
265265
}
266266
if input.Event == webhook_module.HookEventWorkflowRun {
267267
wrun, ok := input.Payload.(*api.WorkflowRunPayload)
268-
if ok && wrun.WorkflowRun != nil && wrun.WorkflowRun.Event != "workflow_run" {
268+
if ok && wrun.WorkflowRun != nil && wrun.WorkflowRun.Event == "workflow_run" {
269269
// skip workflow runs triggered by another workflow run
270270
// TODO GitHub allows chaining up to 5 of them
271271
log.Debug("repo %s: skipped workflow_run because of recursive event", input.Repo.RepoPath())

0 commit comments

Comments
 (0)