Skip to content

auchri/github_auto_closer

Repository files navigation

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/.