-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 support for autolabel stale PR #1075
Conversation
automatically labels stale PRs
Will this just apply the stale label or also close the issue? |
For now this is just adding labels. We can, I believe, modify that later to auto-close things. |
updates the stale label to reflect existing project labels
Okay great - step in the right direction. This will give us an ability to prioritize combing through some of the stale issues and either create action items or close them out. |
I had a question about the default behavior and found my answer so I thought I'd share it here: This github action runs midnight every day to mark issues as stale. By default if the issue/PR has no activity for 60 days it will mark it as stale and if it remains stale for another week it then closes the issue/PR automatically. More info: https://github.com/actions/stale |
@wfernandes thanks for detailing the behavior. I was mistaken when I said it wouldnt close the issues. Great catch. I guess the question for @jharshman, is the behavior described by @wfernandes desired? If not we can modify the config such that issues/prs do not get auto-closed. |
for both PRs and issues there is now a more descriptive and relevant message when the action marks something stale
Yes let's do that so they don't auto-close. There are some issues that I know are stale but are still relevant. |
@jharshman thoughts on which workflow you'd prefer? |
uses the exempt flag to ignore issues already marked stale. this will allow us to auto label stale, and then ignore them so they do not get auto closed.
@jharshman moving forward we can simply change or remove the exempt label to support our desired workflow in auto-closing or not. |
@xchapter7x sounds like a plan. Lmk if I need to create a new label. |
@jharshman |
automatically labels stale PRs