Description
🚀 The feature
We need to currently close the Issues raised by our automated tests for datasets manually.
https://github.com/pytorch/vision/issues?q=is%3Aissue+is%3Aopen+Scheduled+workflow+failed ?
Sometimes they get bunched up or we forget to close them.
Motivation
The cronjob runs daily. So ideally we should be closing the issue the next day if it doesn't fail. (If it does fail anyway another issue is created).
I propose a simple GitHub action that closes only this issue once the issue gets stale by 3 days. The logic is that if the issue is open for 3 days.
- Everything is working fine and hence we don't have a problem to close it. (It was one off error)
- There is another issue which is newer that supersedes this old issue.
So we should be fine closing it.
Pitch
I think a simple GitHub action can do this job. Would need to investigate but think that technically it's very much possible.
Additional context
I don't propose to extend this functionality to close all stale issues. An issue is well documented user feedback which is very valuable indeed. An old issue can be gem of resource for someone and keeping it open doesn't harm.
But for bot issues :( It isn't nice to be flooded with them being open :(
Some references
Activity