项目作者: auchri

项目描述 :
Closes inactive issues on GitHub
高级语言: Java
项目地址: git://github.com/auchri/github_auto_closer.git
创建时间: 2017-02-07T11:03:17Z
项目社区:https://github.com/auchri/github_auto_closer

开源协议:GNU General Public License v3.0

下载


GitHub Auto Closer

Closes inactive issues on GitHub. Build Status

Preview:

Preview of an closed issue

Usage

Get the jar file (from the releases page or by building the program by yourself).

Obtain a OAuth token from GitHub. The token needs at least the scope public_repo and the user of the token must have write rights for the target repository.

Then execute the jar: java -jar github_auto_closer_1.0.jar -o oauth_key -n namespace -r repository -d 360
(Note that Java 8 is required)

Available parameters

Short Long Description Required
x debug Enables the debug mode No
o oauth_token OAuth token from GitHub Yes
n namespace Namespace of the repository (e.g. foo/bar → namespace is foo) Yes
r repository Name of the repository in the namespace (e.g. foo/bar → repository is bar) Yes
d days Amount of days after which an inactive issue should be closed Yes
p include_pr If inactive pull requests should be also closed No
l label Label to add the the closed issues No

Building

Navigate to the directory containing the project files and execute gradlew jar The generated .jar file will be in out/.