NomicFoundation / hardhat

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

Add stale issues Github Actions Workflow #5342

Closed sisco0 closed 1 month ago

sisco0 commented 1 month ago

Solves https://github.com/NomicFoundation/hardhat/issues/5306.

This pull request introduces a GitHub Actions workflow that automatically closes issues labeled with status:needs-more-info if there has been no follow-up for a specified period of time. This helps maintain a clean and manageable issue tracker by closing inactive support cases that require additional information from the reporter.

Following considerations are had for the current implementation:

  1. The workflow runs daily at midnight UTC to check for stale issues
  2. The workflow can also be triggered manually from the GitHub Actions tab using the workflow_dispatch event
  3. Issues labeled with status:needs-more-info will be marked as stale after 7 days of inactivity
  4. Once marked as stale, the issue will be automatically closed after an additional 7 days if there is still no activity
  5. Exemption: Issues labeled with status:do-not-close will be exempt from being marked as stale and closed automatically

No testing has been performed over the current implementation. The https://github.com/actions/stale repository examples were used for designing the current Github Action Workflow.

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 3bb637636c10ae3b6c1673a52bd2ad9b2f01a7ed

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 7:45pm
alcuadrado commented 1 month ago

Thanks!

alcuadrado commented 1 month ago

I just tested this manually