-
Notifications
You must be signed in to change notification settings - Fork 376
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
New comments do not remove the Stale label #21
Comments
I'd also be interested in knowing if this is a bug or user error. |
It looks like this feature hasn't (yet 😄) been implemented in the action. Is this a feature that would be accepted? |
I am +1 on that feature being useful! |
Also +1 on the feature being useful :-) |
@gergelyke @eileenmcnaughton @MikeyMJCO It lists all comments since the "days-before-stale" and filters for bot/user comments. If it can find user comments, the resulting array is not empty and hence the function return true. |
@LekoArts so cool, did you consider proposing this as a PR to this repo? Would love this to be standard feature ❤️ |
Agree - this needs to be a standard feature before the main feature is usable |
I changed the logic in the meantime to a more robust way of checking it: https://github.com/gatsbyjs/stale/blob/gatsby-refactoring/src/main.ts#L143 This is all WIP so use it at your own risk, we're still testing ourselves. And if they maintain the repository again and would accept a PR we gladly would PR that upstream. |
Hmm so the upstream repo is not maintained anymore :-( |
Were you ever able to merge your fork/updates into the main action? I'm trying to get the old probot functionality back as well (remove label if commented). |
You can use our fork if you want: https://github.com/gatsbyjs/stale |
Hi, Any way to stop issues from closing? |
It would be nice if it could then also remove other labels as well. Our use case is that we would like to only have stale-handling for issues marked with |
I agree this should be done. I'll add it to the list (I'm actively reviving this repo since it was somewhat stale a while ago). |
Just discovering this and yeah, it's much needed, because if users are not able to stop the countdown, then as a maintainer I'd probably want the issue to be closed right away instead. |
I think the issue is just that the label isn't cleared, the script still checks for the last updated date on the issue so a user commenting resets the counter, it just doesn’t also clear the flag (which may or may not be a good thing depending on how you like your labels to work) |
FYI #58 has been merged. You can try again. |
This is working for us now. |
Can you try adding |
You also have to factor in that it will only run on a limited number of issues/PR per run and so it may take a few runs to get to the changes. |
Ah - nvm - found it. It's ignoring your comments. |
https://github.com/Tejas2805/Github-Actions/runs/853183570?check_suite_focus=true |
Try with a comment made by someone else! |
Any reason? Cause the PR is made by me. |
Yeah - it ignores the author from what I can see! |
I made a comment to test - if you can increase the frequency of your runs again! |
And nevermind - it ran and remove the label! |
Any way to make it remove when the author comments? Cause I think the "stale" part comes from the fact that the author is not active on it. |
Okay so the answer is yes, it ignores So it's not ignoring you because you're the author, it's ignoring you because you run the action! |
Ah! Makes sense. Thank you for your help. |
@hross I'm gonna suggest that you close this issue now if that seems appropriate? It's original issue has been addressed! |
Does this problem still exist? See helm/helm#4262 (comment) |
@rdxmb The helm/helm repo stale issue action (https://github.com/helm/helm/actions?query=workflow%3A%22Close+stale+issues%22) runs once per day, not on-demand. So you'll see if you re-check that issue that you did indeed get the issue marked as not-stale - it just wasn't instant. |
As raised in uber/baseweb#1892, it seems like new comments do not remove the Stale label. Do we miss anything in our configuration?
The text was updated successfully, but these errors were encountered: