diff options
Diffstat (limited to 'services/webhook/feishu.go')
-rw-r--r-- | services/webhook/feishu.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/services/webhook/feishu.go b/services/webhook/feishu.go index 274aaf90b3..c7d2309ac4 100644 --- a/services/webhook/feishu.go +++ b/services/webhook/feishu.go @@ -172,6 +172,12 @@ func (fc feishuConvertor) Status(p *api.CommitStatusPayload) (FeishuPayload, err return newFeishuTextPayload(text), nil } +func (feishuConvertor) WorkflowRun(p *api.WorkflowRunPayload) (FeishuPayload, error) { + text, _ := getWorkflowRunPayloadInfo(p, noneLinkFormatter, true) + + return newFeishuTextPayload(text), nil +} + func (feishuConvertor) WorkflowJob(p *api.WorkflowJobPayload) (FeishuPayload, error) { text, _ := getWorkflowJobPayloadInfo(p, noneLinkFormatter, true) |