-
Notifications
You must be signed in to change notification settings - Fork 124
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
Add github action to automatically unassign issues after a certain period of inactivity #2495
Comments
Hi @yucheng11122017, the definition of inactivity for the github action you mentioned is any form of history to the issue, be it labelling, comments or references. What do you think would be a good timeline to unassign? I think 1 week might be too short since some issues can take longer than that before any PRs are made, especially with users juggling multiple issues. Perhaps 10-14 days will be good? I think any longer would be pointless, considering the timeline of a sem. As for how it works (assuming action/stale is used):
|
Hmmm tbh I think a week is good. Even if there is problems opening a PR for the issue, I feel like the person should be at least updating or commenting after a week. Is it possible for us to do like after 6 days, ping them to remind them about the issue and the upcoming deadline? Than at 7 days, we unassign. One problem that I would be concerned about is the pollution of the issue thread with unnecessary comments, where there are just many reminders with no value add to the conversation. Wdyt? @KevinEyo1 |
Hi @yucheng11122017 I think that would work, where I code it to add the Are we fine with adding |
This sounds like a great idea! Yeah then labels wouldn't spam the issue also :) Please go ahead |
Hi @yucheng11122017, after researching into this abit more, it might be quite tough to ping the user directly, reminding them in a comment, since that will cause the issue to no longer be |
I see... I think it would be easy for a user to miss out on the generic comment without being pinged directly though... |
I feel a reminder that the issue is about to go stale is somewhat unnecessary? How about when you unassign the user, you ping them that they have been unassigned from the issue - then if they are continuing to work on the issue, they can reassign themselves and state that they plan on continuing on the issue. How does this work with issues that have open PRs, where work and discussion is happening on the PR? I'm worried the contributor will be unassigned from the issue when they are actively working on it in a PR |
The definition of inactivity for the GitHub action mentioned is any form of history to the issue, be it labeling, comments or references. The action works such that issues and PRs are treated and checked for inactivity separately. This means that any updates done to a PR regarding this issue, will not reset inactivity for the issue. How unassign and stale actions work:
Reference workflow of real-life example: https://github.com/BoundfoxStudios/fairy-tale-defender/blob/develop/.github/workflows/project-management.yml#L105 Solution using unassign and stale actionsAdd the
Improvements for limitation 1(building on unassign action, which at some point it might be better off just building our own unassign action for better integration and control) Check corresponding issue (requires more implementation) Improvements for limitation 2Ping after unassign Implement our own stale action (requires more implementation) |
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
What is the area that this feature belongs to?
DevOps
Is your feature request related to a problem? Please describe.
Sometimes people forget about their issues after getting assigned but they don't do it. This leads to issue hogging.
Describe the solution you'd like
Add a github action to automatically ping the user after a certain time reminding them about their issue.
Add a github action to automatically unassign user after certain period of inactivity
Describe alternatives you've considered
Existing github action for inactivity
https://github.com/marketplace/actions/unassign-contributor-after-days-of-inactivity
Would need to do some checking to see how this works.
Additional context
No response
The text was updated successfully, but these errors were encountered: