Join us for office hours !

PR Triage

Add a label depending on the pull request's status
Screenshot of PR Triage app
Screenshot of PR Triage app
Screenshot of PR Triage app

Repository

pr-triage/app

Authors

sotayamashita

Updated

November 20, 2018

Used By

thepracticaldev kazupon HcySunYang awesome-css-group vuejs TiagoDanin LinioIT vuejs-jp muan Kibibit

Motivation

Firstly, I started to create PRTriage to solve my own pain. As an engineer, I spent my time to ask colleagues Pull Requests status such as WIP (work in progress)UNREVIEWEDCHANGES_REQUESTEDAPPROVED. Most of the developers use GitHub and follow GitHub Flow/Git Flow. Most of them say that the time it takes to know pull request status is getting increasing as the team is large so I published it as Open Source :sparkles:.

Installation

Please follow the below steps to install quickly :rocket::

  1. Go to PRTriage App top page
  2. Click "+ Add to GitHub" button
  3. Choose a repository
  4. That's it :sparkles:

How it works

Only watching the most recent commit :eyes::

  • Do nothing when the PR's title starts from WIP, [WIP] or WIP:.
  • Add the PR: unreviewed label when the PR does not have any reviews.
  • Add the PR: reviewed-changes-requested label when the PR has reviewed and got Change request event.
  • Add the PR: review-approved label when the PR has reviewed and got Approve event.

Installation for GitHub Enterprise

Please follow the below steps to install for GitHub Enterprise :rocket::

  1. Go to GitHub Enterprise URL. E.g. fake.github-enterprise.com
  2. Go to fake.github-enterprise.com/settings/apps/new
  3. Create a new app which has Permissions and Subscribe to events below:
    • Permissions
      • Pull request
        • Access: Read & Write
    • Subscribe to events
      • Pull request
      • Pull request review
  4. Deploy the app to Glitch, Heroku or Now.

Get occasional updates on new apps & features.

Star

with by @bkeepers

Code licensed ISC Docs licensed CC-BY-4.0