Skip to content

Commit e7a8806

Browse files
committed
use id from input
1 parent fe23a1d commit e7a8806

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
@@ -269,7 +269,7 @@ func skipWorkflows(ctx context.Context, input *notifyInput, commit *git.Commit)
269269
if wrun.WorkflowRun.Event != "workflow_run" {
270270
return false
271271
}
272-
r, _ := actions_model.GetRunByRepoAndID(ctx, wrun.WorkflowRun.ID, wrun.WorkflowRun.Repository.ID)
272+
r, _ := actions_model.GetRunByRepoAndID(ctx, wrun.WorkflowRun.ID, input.Repo.ID)
273273
var err error
274274
wrun, err = r.GetWorkflowRunEventPayload()
275275
if err != nil {

0 commit comments

Comments
 (0)