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

Do we want an automatic milestone closer action? #2062

Open
bernhold opened this issue Mar 31, 2024 · 0 comments
Open

Do we want an automatic milestone closer action? #2062

bernhold opened this issue Mar 31, 2024 · 0 comments

Comments

@bernhold
Copy link
Member

When we started the "Ready for digest" column in our workflow, we also added monthly milestones. Right now, those milestones need to be closed manually when they're done. This is a housekeeping detail, and it is not like open but outdated milestones are very intrusive, so it may not really matter to us.

But I now have 2/3 of an automatic milestone closer action. Right now, the logic is as follows:

  1. Find past-due milestones
  2. For each past-due milestone, check whether it has any open issues associated with it
  3. If there are no open issues, close the milestone

The missing piece is that in this context, we also need to check for open PRs (my use cases so far are issue-only repositories). I know how to do this in principle, but I'd have to implement it. It would probably take me a few hours.

So, do we want such an action?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Selected for development
Development

No branches or pull requests

1 participant