-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Actions: Add workflow for marking stale questions #5659
Conversation
I've set the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable, a few suggestions.
.github/workflows/close-stale.yml
Outdated
pull_request: | ||
paths: | ||
- codeql/.github/workflows/close-stale.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can drop the pull_request
trigger and just do testing via workflow_dispatch
on branches.
pull_request: | |
paths: | |
- codeql/.github/workflows/close-stale.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
path is incorrect also. I need to have this run once before it appears as an option for workflow_dispatch
. I'll remove it later.
Added |
Currently, the workflow will mark 120 issues as stale. I spot checked a few of them and they all do seem legitimately stale. |
This PR adds a workflow for marking and closing issues as stale. Issues must be labeled as _question_. PRs are never marked as stale.
59dd770
to
e0fcb15
Compare
Just scanned through the list above, looking mostly for C++ issues. They're certainly stale, most are questions, but there are a significant number of mislabeled suggestions (perhaps the correct label for these is not obvious?). Having something remind us to deal with these seems like a good idea. I would want a notification before any automatic closure (I get the impression the PR does this). What's the minimum I'll need to do to prevent something from being closed? Will assigning it or changing labels work, or do I need to comment? I've just dealt with:
Update: and the CPP team has decided:
These look worthy of our attention, any volunteers?
|
Thanks for going through the open issues. Now that we have the first responder rotation, I expect that we won't have any more of these mislabeled issues.
Yes. There are two steps. The first is marking the issue as stale, which adds the label as well as a comment. The second step is to close the issue 7 days later.
Either comment or remove the the stale label. |
Sounds great. 👍 |
What was the intention of adding this workflow? Was it in general the too high volume of issues, or was it that there were too many issues on which the reporter never responded back? If your intention is really only to resolve issues without reponse from the reporter, maybe it would be better to introduce an |
Thanks for asking about this change. We've had a first responder rotation for the past couple of months. Each week one developer on our team becomes the point-person for answering questions (or forwarding to the proper team). The goal with this change is to make it clear what issues are currently unanswered or awaiting response. Though, going through some more of the Perhaps, as you suggest, we should be adding an |
@aeisenberg There are a number of issues (a bunch of which was opened by @Marcono1234) that I'd like to keep around without having to interact with them every 14-21 days just to keep them open. A bunch of these are backlogged in the Java team and we haven't yet had the capacity to triage them, so we can't really say whether they are best labelled as bugs or enhancements (or indeed whether some of them might be closable as wont-fix). How do you suggest we best keep them around? Simply remove the question label? (Leaving them perhaps with no labels at all). |
If you are using such an workflow, then you should improve the available templates, e.g., introduce a bug report template and so on. Because right now, everything that is not a false positive or vulnerability gets labeled as question, even if it is a bug report.
Sound like a good idea. |
See here #5689. Only apply staleness to issues |
This PR adds a workflow for marking and closing issues as stale. Issues must be labeled as question. PRs are never marked as stale.