helPR

Assigns labels to issues based on the status of the PR associated with it.
Screenshot of helPR app

Repository

rsarky/helpr

Authors

rsarky

Updated

October 29, 2019

Used By

aio-libs cefsharp moul json-schema-org bitnami-labs GameServerManagers tox-dev wemake-services Glavin001 infection

helPR

A GitHub App built with Probot that assigns labels to issues based on the status of the PR associated with it.

Build Status

Usage

Using helpr is pretty straightforward. Just install the app on your repository and you are ready to go. :100:

Consider this open issue :

issue


Now when someone references this issue in a pull request helpr will automatically add the label pr-available :

labelled


helpr supports 3 labels :

  • pr-available when a new PR referencing an issue is opened.
  • pr-merged when a PR referencing an issue is merged.
  • pr-rejected when a PR referencing an issue is rejected.

When a PR for an issue is merged or rejected helpr will remove the pr-available label and add the respective merged or rejected label.

Configuring

You can choose label names as per your liking :smile:

Add a helpr object in your .github/config.yml file (and make the file if you don't already have it) like this:

helpr:
  opened: 'insert-label-for-pr-opened-here'
  merged: 'insert-label-for-pr-merged-here'
  rejected: 'insert-label-for-pr-rejected-here'

Only override the ones that you want to change!

The defaults are:

opened: 'pr-available'
merged: 'pr-merged'
rejected: 'pr-rejected'

Get occasional updates on new apps & features.

Star

with by the Probot community

Code licensed ISC Docs licensed CC-BY-4.0