Skip to content

Gently remind authors of stale PRs

Warren Gifford requested to merge close-stale-prs into main

Created by: felixfbecker

So I am normally NOT a fan of stale bot and I would NEVER introduce it to our main code repository for issues. But hear me out: I think for our handbook repo, it would help a lot of folks.

We have many people joining every month that may have never used a pull request flow before or are not fluent with GitHub's UI and might completely forget to merge their PRs, never noticing their changes never went live. At the moment, we have over 125 pull requests that have been open for over a month.

I think the perfect thing to do about this is whenever a PR has been open for 2 weeks without any review, comment, new commit pushed, etc, to post a friendly comment that reminds the author, which should then be delivered to their email inbox. If the PR still sits still for another 7 days (no comment, review request, etc) it will be auto-closed. However, it can be easily brought back by reopening the PR if that was a mistake, nothing is deleted.

This is applied only to PRs, not issues.

Merge request reports

Loading