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

chore: add workflows to auto-close and lock stale issues and PRs #2335

Merged
merged 2 commits into from Nov 23, 2022

Conversation

xiehan
Copy link
Member

@xiehan xiehan commented Nov 23, 2022

When I was adding the bug/has-workaround label to tickets yesterday, I noticed there are a handful of issues labeled waiting-on-answer where we haven't heard back from the user in months. I figured we should automate posting a "warning" and then closing the issue after a set amount of time. I also added a workflow that locks threads after 30 days to encourage folks to create new issues rather than replying to old closed issues forever. Kudos to the Editor Experience team for giving me a template to work from!

Closes #683

.github/workflows/stale.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@DanielMSchmidt DanielMSchmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I misunderstood the API :D

.github/workflows/stale.yml Show resolved Hide resolved
Copy link
Contributor

@mutahhir mutahhir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Minor nits, but even those are questionable, so feel free to merge as-is.

If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
issue-inactive-days: 30
pr-comment: >
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Still references issues here (and in the following line). Maybe change it to use 'pull requests' instead.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That being said, I wonder if opening issues still makes more sense than open a new pull request. Feel free to ignore.

@xiehan xiehan merged commit b786fb4 into main Nov 23, 2022
@xiehan xiehan deleted the community-mgmt-actions branch November 23, 2022 15:56
@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto Close Stale Issues / PRs
4 participants