fix error message

This commit is contained in:
Christopher Homberger 2025-05-05 18:16:36 +02:00
parent d3981cc0ec
commit 0feed42c54

View File

@ -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 {