Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing issues when comment is removed #195

Open
villiamriegler opened this issue May 17, 2023 · 0 comments
Open

Closing issues when comment is removed #195

villiamriegler opened this issue May 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@villiamriegler
Copy link
Collaborator

Suggestion

As we already store all open issues in memory, simply close all issues labeled TODO where no matching comment was found.

Elaboration

The problematic part would be if the action is run on multiple branches with different comments, in that case, we would have to look through the code in all branches that the action currently cannot access. Using the previous approach of pulling files via the API would however allow this.

Perhaps allowing users to opt into this functionality would be the best approach, as we also don't want to remove issues that aren't fixed just because the comment is removed.

@villiamriegler villiamriegler added the enhancement New feature or request label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant