cloudposse / cloudposse/github-commenter

Message body too long?

未关闭
#96 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
112
派生
17
PR 合并指标
30 天内没有已合并 PR

描述

### Describe the Feature

If message body exceeds githubs max char limit, it fails. Would it be possible to count characters in message and split into separate comment calls if necessary.

### Expected Behavior

split messsage into separate comments/multiple comments if char limit is exceeded

### Use Case

Fails to comment on PR if message body is too long.

### Describe Ideal Solution

Split into multiple comments

### Alternatives Considered

_No response_

### Additional Context

_No response_

贡献指南

打开贡献指南

调研方向

首先跟踪创建 GitHub 评论的命令路径,并确定消息正文的发送位置。当超出 GitHub 字符限制的正文被拆分为多条评论,并且能够成功对 pull request、issue 或 commit 发表评论时,工作就完成了。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
api, cli
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。