Feature request: Restrict deletion of previous comments to current user
还没有人认领这个 Issue。
评估
调研方向
定位 GITHUB_DELETE_COMMENT_REGEX 的实现,以及删除匹配评论的路径。检查当前用户和评论作者是如何表示的,然后确保只有在匹配评论由当前用户发布时才将其删除;完成的标准是其他用户的评论保持不变。
由索引模型根据 Issue 内容生成。
描述
GITHUB_DELETE_COMMENT_REGEX can be used to delete previous comments before posting the new one. The current implementation will delete matching comments regardless of who they were posted by. This can easily lead to false positives where someone happens to post comment that matches your regex (due to loose regex, or quoting, etc).
I do not see a use case to delete comments by others, and recommend restricting it to the user that the tool is running as.
- 主要语言
- Go
- 星标
- 112
- 派生
- 17
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudposse/github-commenter 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 20/100
cloudposse/github-commenter#137 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
cloudposse/github-commenter#96 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 25/100
cloudposse/github-commenter#45 · 1 条评论 ·
-
Build amd64 version for Linux可能重新可做 @aknysh 于 1690 天前认领,目前没有进行中的 PR。 未关闭
cloudposse/github-commenter#36 · 2 条评论 · 已指派 1 人 ·
查看 cloudposse/github-commenter 的全部 Issue
相似的 Issue
-
proxy logs "no user in context" at error level for every data gateway download可能已有人在做 @paul43210 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
txn2/mcp-data-platform#2063 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 83/100
kubernetes-sigs/kueue#16990 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
enhancement exporter/awss3 needs triage
难度 2/5 1-3 小时 新手友好度 66/100
open-telemetry/opentelemetry-collector-contrib#51905 · 1 条评论 ·
维护者通常 1 天内回复