Skip to content
Pull Request Auto Labeler

Pull Request Auto Labeler

A GitHub bot to label PRs automatically based on title and body against list of defined labels

by joaocarmo58 installs

Supported languages

JavaScript, Ruby, C++, Python, C, Objective-C, Java, Go, C#, and TypeScript

A GitHub App built with Probot that enables a GitHub bot to label PRs automatically based on title and body against a list of defined labels.

Add a pr-labeler.yml configuration file to your repository's .github directory with the following content:

# .github/pr-labeler.yml
# The bot always updates the labels, add/remove as necessary [default: false]
alwaysReplace: false
# Treats the text and labels as case sensitive [default: true]
caseSensitive: true
# Array of labels to be applied to the PR [default: []]
customLabels:
  # Finds the `text` within the PR title and body and applies the `label`
  - text: '#bug'
    label: 'bug'
  - text: '#test'
    label: 'test'
  - text: '#feature'
    label: 'feature'
# Search the body of the PR for the `text` [default: true]
searchBody: true
# Search the title of the PR for the `text` [default: true]
searchTitle: true
# Search for whole words only [default: false]
wholeWords: false
Example of the PR Labeler in action.

Pricing and setup

No hidden fees and no missing features

$0

Free

No hidden fees and no missing features

Next: Confirm your installation location

Pull Request Auto Labeler is provided by a third-party and is governed by separate privacy policy and support documentation