From 0feed42c54d3ed5e6a0881a77894effe502d2504 Mon Sep 17 00:00:00 2001 From: Christopher Homberger Date: Mon, 5 May 2025 18:16:36 +0200 Subject: [PATCH] fix error message --- models/actions/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/actions/run.go b/models/actions/run.go index a846960632..ca817d4c1b 100644 --- a/models/actions/run.go +++ b/models/actions/run.go @@ -173,7 +173,7 @@ func (run *ActionRun) GetWorkflowRunEventPayload() (*api.WorkflowRunPayload, err } return &payload, nil } - return nil, fmt.Errorf("event %s is not a pull request event", run.Event) + return nil, fmt.Errorf("event %s is not a workflow run event", run.Event) } func (run *ActionRun) IsSchedule() bool {