worlddriven icon indicating copy to clipboard operation
worlddriven copied to clipboard

Automatic closing of stale Pull Requests

Open TooAngel opened this issue 5 years ago • 6 comments

The current logic only merges Pull Requests after a certain amount of time.

I think the same logic could be applied for closing Pull Requests. So if the majority of votes (Request changes) are against merging the PR, the PR should be closed at some point in time. Maybe doing the same type of calculation but inverted and also multiplied by some factor (maybe 10). When that point in time is reached the PR gets closed automatically. I think the factor makes sense, to give the contributor time to improve on their PR.

E.g. Instead of 10 days time to merge, we would have 100 days time to close. If 80% of the votes are against that PR, it will be closed in 20 days.

TooAngel avatar Oct 02 '20 11:10 TooAngel

I'd like to try and work on this issue if possible.

sebassu avatar Oct 03 '20 04:10 sebassu

Cool, if you have any questions, let us know

TooAngel avatar Oct 03 '20 05:10 TooAngel

Can I help somehow?

TooAngel avatar Oct 03 '20 07:10 TooAngel

@TooAngel can you assign this to me ?

tegamax avatar Oct 10 '20 04:10 tegamax

If you have any questions, let us know

TooAngel avatar Oct 10 '20 06:10 TooAngel

Sure I would, Thanks!

tegamax avatar Oct 10 '20 17:10 tegamax