diff --git a/services/actions/notifier_helper.go b/services/actions/notifier_helper.go index d58229728a..393bc05486 100644 --- a/services/actions/notifier_helper.go +++ b/services/actions/notifier_helper.go @@ -269,7 +269,7 @@ func skipWorkflows(ctx context.Context, input *notifyInput, commit *git.Commit) if wrun.WorkflowRun.Event != "workflow_run" { return false } - r, _ := actions_model.GetRunByID(ctx, wrun.WorkflowRun.ID) + r, _ := actions_model.GetRunByRepoAndID(ctx, wrun.WorkflowRun.ID, wrun.WorkflowRun.Repository.ID) var err error wrun, err = r.GetWorkflowRunEventPayload() if err != nil {