From b286e89eb88a20d2a9df399a6f6ff9d7e63012b2 Mon Sep 17 00:00:00 2001 From: Armin Sebastian Date: Tue, 12 Dec 2017 02:11:49 +0200 Subject: [PATCH] Add Lock Threads app --- _apps/lock.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 _apps/lock.md diff --git a/_apps/lock.md b/_apps/lock.md new file mode 100644 index 0000000..a45bc46 --- /dev/null +++ b/_apps/lock.md @@ -0,0 +1,46 @@ +--- +title: Lock Threads +description: Locks closed issues and pull requests. +slug: lock +screenshots: +- https://raw.githubusercontent.com/dessant/lock-threads/master/assets/screenshot.png +authors: +- dessant +repository: dessant/lock-threads +host: https://probot-lock-threads.glitch.me +--- + +A GitHub App that locks closed issues and pull requests after +a period of inactivity. + +## Usage + +1. **[Install the GitHub App](https://github.com/apps/lock)** +2. Create `.github/lock.yml` based on the template below +3. It will start scanning for closed issues and/or pull requests within an hour + +#### Configuration + +Create `.github/lock.yml` in the default branch to enable the app. +The file can be empty, or it can override any of these default settings: + +```yml +# Configuration for lock-threads - https://github.com/dessant/lock-threads + +# Number of days of inactivity before a closed issue or pull request is locked +daysUntilLock: 365 +# Comment to post before locking. Set to `false` to disable +lockComment: > + This thread has been automatically locked because it has not had recent + activity. Please open a new issue for related bugs and link to relevant + comments in this thread. +# Limit to only `issues` or `pulls` +# only: issues +``` + +## Supporting the Project + +Lock Threads is an MIT-licensed open source project. Its ongoing +development is made possible thanks to the support of awesome backers. +If you'd like to join them, please consider contributing with +[Patreon](https://www.patreon.com/dessant).