# GitHub bot to automatically close stale Issues and Pull Requests that tend to accumulate during a project

**URL:** https://discourse.itk.org/t/github-bot-to-automatically-close-stale-issues-and-pull-requests-that-tend-to-accumulate-during-a-project/1592
**Category:** Community
**Tags:** github
**Created:** [February 11, 2019, 4:37pm UTC](https://discourse.itk.org/t/github-bot-to-automatically-close-stale-issues-and-pull-requests-that-tend-to-accumulate-during-a-project/1592 "2019-02-11T16:37:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [February 11, 2019, 4:37pm UTC](https://discourse.itk.org/t/github-bot-to-automatically-close-stale-issues-and-pull-requests-that-tend-to-accumulate-during-a-project/1592/1 "2019-02-11T16:37:01Z")

</div>

As suggested by @hjmjohnson, the [probot-stale](https://probot.github.io/apps/stale/) GitHub App has been installed on the `ITK` repository. 🐙 🍞 🧓

As described in its documentation, this adds a bot that does the following:

1. After a period of inactivity, a label will be applied to mark an issue as stale, and optionally a comment will be posted to notify contributors that the Issue or Pull Request will be closed.

2. If the Issue or Pull Request is updated, or anyone comments, then the stale label is removed and nothing further is done until it becomes stale again.

3. If no more activity occurs, the Issue or Pull Request will be automatically closed with an optional comment.

Please [review this PR](https://github.com/InsightSoftwareConsortium/ITK/pull/497) to set up its configuration.
