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

Create stale bot config #5243

Merged
merged 15 commits into from Dec 20, 2018

Conversation

@sapk
Copy link
Member

sapk commented Nov 1, 2018

https://github.com/probot/stale

For this to work someone of @go-gitea/owners need to activate https://github.com/apps/stale

For starting, I choose 2 month of inactivity and 2 weeks after the issue or PR is closed. I limit to 1 action/hour the bot.

The following labels are skipped :

  • status/blocked
  • kind/security
  • lgtm/done
  • reviewed/confirmed
  • priority/critical
  • kind/proposal

@bkcsoft bkcsoft added the lgtm/need 2 label Nov 1, 2018

@sapk

This comment has been minimized.

Copy link
Member

sapk commented Nov 1, 2018

We maybe need a label reviewed/confirmed to lock some issue that shouldn't be closed. Done

Show resolved Hide resolved .github/stale.yml
@codecov-io

This comment has been minimized.

Copy link

codecov-io commented Nov 1, 2018

Codecov Report

❗️ No coverage uploaded for pull request base (master@8dc09ed). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #5243   +/-   ##
=========================================
  Coverage          ?   37.54%           
=========================================
  Files             ?      321           
  Lines             ?    47192           
  Branches          ?        0           
=========================================
  Hits              ?    17716           
  Misses            ?    26931           
  Partials          ?     2545

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8dc09ed...e6c1ca7. Read the comment docs.

@lafriks

This comment has been minimized.

Copy link
Member

lafriks commented Nov 1, 2018

@sapk I have added reviewed/confirmed label

@jonasfranz

This comment has been minimized.

Copy link
Member

jonasfranz commented Nov 1, 2018

Also add priority/critical please

@lafriks lafriks added the kind/misc label Nov 1, 2018

Show resolved Hide resolved .github/stale.yml Outdated
@sapk

This comment has been minimized.

Copy link
Member

sapk commented Nov 1, 2018

Should we exclude the label kind/proposal ?

@jonasfranz

This comment has been minimized.

Copy link
Member

jonasfranz commented Nov 1, 2018

Show resolved Hide resolved .github/stale.yml Outdated
@HoffmannP

This comment has been minimized.

Copy link
Contributor

HoffmannP commented Nov 3, 2018

If these two labels (critical & confirmed) where just added current issues that would be closed in january should be re-checked?

@bkcsoft bkcsoft added lgtm/need 1 and removed lgtm/need 2 labels Nov 4, 2018

@sapk

This comment has been minimized.

Copy link
Member

sapk commented Nov 4, 2018

@HoffmannP The goal is more to help closed issue without responses and auto-close them. This also define a general rule when to consider a issue as stale and can be closed. Actually this is done manually and some can found it hard do find when to close and when not to close.

@lunny

This comment has been minimized.

Copy link
Member

lunny commented Nov 7, 2018

@lafriks

This comment has been minimized.

Copy link
Member

lafriks commented Nov 7, 2018

We should probably review these issues and add needed labels for issues that should not be closed before merging this PR.

@bkcsoft bkcsoft removed the lgtm/need 1 label Nov 9, 2018

@bkcsoft bkcsoft added the lgtm/done label Nov 9, 2018

jonasfranz and others added some commits Nov 9, 2018

@sondr3 sondr3 referenced this pull request Dec 14, 2018

Closed

[Suggestion] Add stale bot #5542

@techknowlogick

This comment has been minimized.

Copy link
Member

techknowlogick commented Dec 20, 2018

I will merge this, but it requires an Owner to activate the bot.

@techknowlogick techknowlogick merged commit 7cb1d82 into go-gitea:master Dec 20, 2018

2 checks passed

approvals/lgtm this commit looks good
continuous-integration/drone/pr the build was successful
Details

@sapk sapk deleted the sapk-fork:add-stale-bot branch Jan 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment