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 gh action to lock old issues and PRs #1888

Merged
merged 1 commit into from
Apr 20, 2020

Conversation

bradzacher
Copy link
Member

@bradzacher bradzacher commented Apr 12, 2020

As per our contributing guidelines, we prefer if users raise new issues instead of commenting on old, closed ones.
This adds a github action to automatically lock issues and PRs after they've been closed for 30 days.

Fixes #1767

I found this action because I got a notification on an old closed issue I had followed (https://github.com/prettier/prettier-vscode/issues/763).

It'll probably take a day or two to run over our entire repo, as it only processes 50 items per run. I'll check back in a week and change the schedule to be daily instead of hourly.

As per our [contributing guidelines](https://github.com/typescript-eslint/typescript-eslint/blob/master/CONTRIBUTING.md#commenting), we prefer if users raise new issues instead of commenting on old, closed ones.
This adds a github action to automatically lock issues and PRs after they've been closed for 30 days.
@bradzacher bradzacher added the repo maintenance things to do with maintenance of the repo, and not with code/docs label Apr 12, 2020
@typescript-eslint
Copy link
Contributor

Thanks for the PR, @bradzacher!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day.

@bradzacher bradzacher requested a review from JamesHenry April 12, 2020 22:38
@codecov
Copy link

codecov bot commented Apr 12, 2020

Codecov Report

Merging #1888 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1888   +/-   ##
=======================================
  Coverage   94.48%   94.48%           
=======================================
  Files         162      162           
  Lines        7494     7494           
  Branches     2151     2151           
=======================================
  Hits         7081     7081           
  Misses        178      178           
  Partials      235      235           
Flag Coverage Δ
#unittest 94.48% <ø> (ø)

@bradzacher bradzacher merged commit 81f5160 into master Apr 20, 2020
@bradzacher bradzacher deleted the add-auto-issue-lock branch April 20, 2020 16:08
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
repo maintenance things to do with maintenance of the repo, and not with code/docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an action to automatically lock old, closed PRs and issues
1 participant