Saurav-Pant / Blood-Donation-Project

Website
https://blood-donation-project.vercel.app/
MIT License
56 stars 99 forks source link

feat: Workflow for Closing Old Issues #206

Closed Asymtode712 closed 6 months ago

Asymtode712 commented 6 months ago

What feature?

This feature aims to automate the process of managing old issues, ensuring that the repository remains organized and focused on relevant tasks. By automatically closing old issues, it reduces manual overhead for repository maintainers and helps keep the issue tracker tidy and up-to-date.

Add screenshots

Close Old Iss

Record

github-actions[bot] commented 6 months ago

Thank you for opening an issue! We will look into it ASAP. star the repo if you like it.

Asymtode712 commented 6 months ago

@Saurav-Pant please assign me this issue under gssoc'24

Saurav-Pant commented 6 months ago

can you explain this lil bit more

Asymtode712 commented 6 months ago

@Saurav-Pant Ok so basically, provided GitHub Action is designed to automatically close issues in a repository if they have been inactive for more than 30 days.
Its main logic is as follows:
Fetch Open Issues: The script fetches all open issues in the repository using the GitHub API and stores the issue numbers in the open_issues variable. Process Each Issue: For each issue, the script performs the following sub-steps:

Asymtode712 commented 6 months ago

@Saurav-Pant I can change the span of days after which the unactive issues would be closed as directed by you

github-actions[bot] commented 6 months ago

Hello @Asymtode712! Your issue #206 has been closed. Thank you for your contribution!