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
-
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 4 天內回覆
-
bug needs-acceptance
難度 2/5 1-3 小時 新手友好度 86/100
vllm-project/semantic-router#4744 ·
維護者通常 1 天內回覆
-
ScalingModifiers formula fails with "formula returned non-float result" when expression evaluates to an integer可能已有人在做 @Sarthak-Pandey 今天認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 73/100
維護者通常 1 天內回覆
-
bug from-studio
難度 2/5 1-3 小時 新手友好度 63/100
esengine/DeepSeek-Reasonix#12355 ·
維護者通常 1 天內回覆
-
[Bug]: Gemini provider replaces a client-supplied `extra_content.google.thought_signature` with `skip_thought_signature_validator`, and writes the sentinel on every replayed function call (old turns, all models)可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆