Issue Label Bot screenshot

Issue Label Bot

Updated: 23 Apr 2021
331 Stars

Code For The Issue Label Bot, an App that automatically labels issues using machine learning, available on the GitHub Marketplace. This is also code for the blog article: "How to automate tasks on GitHub with machine learning for fun and profit"

Categories

Overview:

The Issue Label Bot is a GitHub App powered by machine learning, written in Python. This application predicts and applies labels to GitHub issues such as feature request, bug, or question automatically. The bot enhances issue management by streamlining the labeling process.

Features:

  • Machine Learning Prediction: Utilizes machine learning algorithms to predict issue labels.
  • Automatic Label Application: Automatically applies labels to GitHub issues based on predictions.
  • GitHub Integration: Interacts with the GitHub API to monitor and respond to issue events.

Installation:

To install the Issue Label Bot, follow these steps:

  1. Register a GitHub App and install it on your desired repositories.
  2. Clone the repository and navigate to the designated folders.
  3. Set up a Postgres database, which can be done for free on Heroku.
  4. Create a Webhook secret for authentication purposes.
  5. Run the relevant Python scripts to start using the app.

Summary:

The Issue Label Bot is a practical GitHub App that leverages machine learning to automate issue labeling. By predicting and applying appropriate labels to issues, the bot helps streamline workflow and improve issue management for users. With features like machine learning prediction, automatic label application, and GitHub integration, the bot offers a seamless solution for enhancing issue tracking on GitHub repositories.