From e7a880685dec9b8591ee5af1868d6e922edfb1ea Mon Sep 17 00:00:00 2001 From: Christopher Homberger Date: Wed, 14 May 2025 20:19:13 +0200 Subject: [PATCH] use id from input --- 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 393bc05486..62a745ddf4 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.GetRunByRepoAndID(ctx, wrun.WorkflowRun.ID, wrun.WorkflowRun.Repository.ID) + r, _ := actions_model.GetRunByRepoAndID(ctx, wrun.WorkflowRun.ID, input.Repo.ID) var err error wrun, err = r.GetWorkflowRunEventPayload() if err != nil {