Skip to content

afuna/ghi-assist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghi-assist

Bot that organizes Github Issues!

Out of the box functionality is as follows:

Assign Related Issue: When a PR is submitted with a comment saying it fixes a particular issue, assign that issue to the user that submitted the PR.

Claim Issue: If a user submits a comment on the issue saying "claim" "claiming" or "claimed", assign the issue to that user unless it is already assigned to someone else.

Add Labels: When opening or commenting on an issue or PR, any lines beginning with '##' will be scanned for the names of any labels, and if found, applied to the issue or PR. Labels must be defined in etc/config.json to be considered valid.

Installation

(virtualenv preferred)
python setup.py install

Tests

py.test tests

Setup

Server

A sample configuration file is provided in etc/config/sample.json

cp etc/config.sample.json etc/config.json

Bot

Secret

Webhook

  • Create the webhook https://github.com/USERNAME/REPO/settings/hooks -> Add webhook
  • Configure the webhook:
    • Secret is the secret token from the previous step
    • You only need to care about the "Issues", "Pull Request", and "Issue comment" events

Running

python bin/server.py

About

Bot that organizes Github Issues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages