cloudposse / cloudposse/github-commenter

Feature request: Restrict deletion of previous comments to current user

Abierto
#10 2 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Go
Estrellas
112
Forks
17
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

`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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.