alstr / todo-to-issue-action

Action that converts TODO comments to GitHub issues on push.
MIT License
630 stars 121 forks source link

Renaming TODOs #73

Closed fdietze closed 4 months ago

fdietze commented 3 years ago

I just had an idea how to handle renames: If there is a TODO removed and added in the same line of the file, it should be renamed in the github issues.

Would that be possible?

alstr commented 3 years ago

Good suggestion. I'll look into it!

kkharji commented 2 years ago

Hey @alstr, I'm totally amazed by ur work, any updates on this one? I tend to reword or update todo often. Also, is it possible to update the todo content as well

thanks

alstr commented 2 years ago

Hi @tami5, thanks very much. At the moment updating TODOs isn't supported but it is still something I want to add. It seems possible. I'll try and look at it soon but if anyone wants to submit a PR feel free.

iamKunal commented 1 year ago

@alstr Maybe the reference can be used as a unique identifier? An boolean input with REFERENCE_AS_IDENTIFIER can be perhaps used to link todos to issues. If reference is an issue, maybe a new field called identifier be used similar to labels and milestone

It can also be used to solve #73 and maybe even #98

alstr commented 1 year ago

@iamKunal Yes, that's a good idea and probably the best option at this stage. Definitely something I would like to look into.

alstr commented 4 months ago

Will try and look into this as part of #123. Not sure if it's best to update the issue or append to the issue at this stage.