Start-Out / todo-or-not

#todoon integrates the TODOs in your codebase with your GitHub issues
https://github.com/apps/todo-or-not
GNU General Public License v3.0
4 stars 5 forks source link

Automate TODO comment removal in issues mode #294

Open trentonyo opened 4 months ago

trentonyo commented 4 months ago

Add a new option that alters the file removing the TODO comment if comment is found to be closed

WARNING: This is insane. Would need to be handled veeerry carefully, because allowing the script to mangle the source is dangerous (and further, not even necessarily possible with the Actions pipeline)

Possible solution, find a way for todoon-bot to make a PR to the branch that changes the files

trentonyo commented 4 months ago

How about "automating" it by having TODOON-bot make reviews which suggest the change of removing the comments?

See this GitHub article

trentonyo commented 3 months ago

Definitely would rather go the route of comment reviews, don't want to introduce the need for write perms to code, I think that comment perms is okay though?