NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7.15k stars 1.37k forks source link

Automatically close `needs-more-info` issues after 2 weeks #5306

Closed kanej closed 3 months ago

kanej commented 3 months ago

We want to auto-close issues that have moved to needs-more-info, but there is no follow up. These are usually support cases.

TODO

sisco0 commented 3 months ago

The GitHub API does not provide direct filtering by updated_at in the request parameters, but you can retrieve issues and then filter them based on the updated_at field in your code.

Example URL that filters issues by status:needs-more-info label and open status: https://api.github.com/repos/NomicFoundation/hardhat/issues?labels=status:needs-more-info&state=open

alcuadrado commented 3 months ago

I thought this would be possible with github actions

sisco0 commented 3 months ago

I agree @alcuadrado . The current goal could be also achieved by the usage of a cron scheduled Github Actions Workflow. I would provide a test Pull Request for such functionality for your evaluation.

alcuadrado commented 3 months ago

Thanks for the PR!