todo-to-issue-action
todo-to-issue-action copied to clipboard
link issues to close when a PR is created
it would be cool if instead of just closing issues once a PR is merged, it could automatically add the issues that will be closed to the Linked issues of the PR so you can easily see which TODO's the PR resolves
github will automatically close any issues linked here once the PR gets merged
Good idea. Do you know where the functionality to do this is in the API? Had a quick look through the endpoints for PRs and issues but didn't see anything.
not sure, i'm not familiar with the github api sorry
perhaps it's possible to set up an action to run when a PR is created/pushed to with a bot that edits the description of a PR to add "closes #xxx" to it
Potentially. Keeping track of all the issues might be a bit tricky. I'm guessing any time a TODO is removed you're assuming that the PR closes that related issue?
I'm not sure how it would work but I'll think about it. If anyone else wants to chip in with suggestions, feel free.
any time a TODO is removed you're assuming that the PR closes that related issue?
@alstr I think this is exactly what this issue is about 👍