Skip to content

Commit 0feed42

Browse files
committed
fix error message
1 parent d3981cc commit 0feed42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/actions/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (run *ActionRun) GetWorkflowRunEventPayload() (*api.WorkflowRunPayload, err
173173
}
174174
return &payload, nil
175175
}
176-
return nil, fmt.Errorf("event %s is not a pull request event", run.Event)
176+
return nil, fmt.Errorf("event %s is not a workflow run event", run.Event)
177177
}
178178

179179
func (run *ActionRun) IsSchedule() bool {

0 commit comments

Comments
 (0)