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

Close stale issues and pull requests #3150

Closed
kenhys opened this issue Oct 16, 2020 · 2 comments · Fixed by #3159
Closed

Close stale issues and pull requests #3150

kenhys opened this issue Oct 16, 2020 · 2 comments · Fixed by #3159
Assignees

Comments

@kenhys
Copy link
Contributor

kenhys commented Oct 16, 2020

Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.

Is your feature request related to a problem? Please describe.

There are many stale issues and some pull requests, it is better to keep up-to-date or close non-active ones
to maintain project tasks continuously.

Describe the solution you'd like

Use the "stale" GitHub bot application.
The "stale" GitHub bot application is: "Automatically close stale Issues and Pull Requests that tend to accumulate during a project."

It meets to keep the issues up-to-date or can close non-active ones.

https://probot.github.io/apps/stale/

Then,

# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 30
# Issues with these labels will never be considered stale
exemptLabels:
  - bug
  - enhancement
  - feature request
  - pending
  - work_in_progress
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
  This issue has been automatically marked as stale because it has not had
  recent activity. It will be closed if no further activity occurs. Thank you
  for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: true

Describe alternatives you've considered

N/A

Additional context

We need to configure to exclude some labels not to close automatically.

  • bug
  • enhancement
  • feature request
  • pending
  • work_in_progress

The above list is picked up by the following labelled issues.

bug 31 (closed 134)
document 0 (closed 6)
enhancement 14 (closed 37)
feature request 21 (closed 58)
help wanted 0 (closed 2)
incomplete 8 (closed 20)
Non fluentd issue 0 (closed 7)
pending 0(closed 3)
plugin issue 0(closed 2)
question 0 (closed 0)
waiting-for-user 0 (closed 2)
windows 1 (closed 10)
work_in_progress  1 (closed 0)
@kenhys
Copy link
Contributor Author

kenhys commented Oct 16, 2020

@repeatedly How do you think this idea?

@kenhys
Copy link
Contributor Author

kenhys commented Nov 5, 2020

@repeatedly I've sent a request to instal the stale app

https://probot.github.io/apps/stale/

kenhys added a commit to kenhys/fluentd that referenced this issue Nov 5, 2020
Closes: fluent#3150

It closes inactive issues/PRs.

ref. https://probot.github.io/apps/stale/

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants