Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Automatically labels repositories' issues or pull requests on GitHub.

Project Description

# githubBot

This project tries to implement a robot that is capable of automate labeling newly added issues to given repository.

## Getting started

At first you need to have an account on and this account needs to be added as a collaborator for targeted repository.

Seccondly, you need to generate a security token for this account.

This token needs to be copied to the authconfig file. By default the name of this file is “auth.cfg”, but feel free to name it your way (name of your file then needs to be passed to the app through a parameter –authfile)

Default name of used token in this app is “tokenRobot”. If you need to use multiple robot accounts for multiple repositories, you can add another tokens and pass suitable token name as a parameter at the start of this application.

Down below is an example of the authconfig file

` [github] tokenRobot = <github_token> yourNameOfToken = <github_token> `

## Parameters

  • –authfile - Relative or absolute path to your authorization configure file. Default value is “auth.cfg”
  • –configfile - Relative or absolute path to your application configure file. Default value is “configFile.cfg”
  • –timeout - Number of secconds for checking new issues. Default value is 30 secconds
  • –tokenname - Name of token in authorization configure file. Default value is “tokenRobot”
  • –repoowner - Owner of the repository you would like to label issues.
  • –repository - Name of repository for automatic labeling.
  • –defaultlabel - Default label for not resolved issues. Default value is “NeedsLabel”, but at the same time it needs to be correctly configured in the configure file.
  • –superswitch - Indicator whether to label issues, pull_requests or both. * 0 - Label issues and pull_requests * 1 - Label issues only * 2 - Label pull_requests only

## Run

` python console [your_parameters] `

` python web `

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(8.8 kB) Copy SHA256 Hash SHA256
Source Oct 22, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting