smeevil / trafico

GitHub App built with Probot that automatically labels pull requests on certain conditions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trafico


Trafico's logo, a traffic police officer

GitHub App built with Probot that adds appropriate labels depending on a Pull Request's status.


Installation

Please follow the below steps to install quickly 🚀:

  1. Go to the Trafico Github App page.
  2. Click the "Install it for free" button down below.
  3. Choose a repository.
  4. Create .github/trafico.yml file with your settings (see .github/trafico.sample.yml for available settings).
  5. That's it ✨.

How it works

Only watches the most recent commit 👀:.

  • Adds a WIP label if title starts from WIP, [WIP] or WIP: (can be disabled).
  • Adds a Waiting for Review label when the PR does not have any reviews yet.
  • Adds a Changes requested label when the PR has been reviewed with requested changes.
  • Adds a Approved label when the PR has been reviewed and got approved (as many times as the branch's protection setting dictates).
  • Adds a Merged label when the PR has been merged.

Based on PRTriage Bot

This bot is based heavily on the PR-Triage Bot by Sam Yamashita, so check that one if this one does not fulfill your needs.


Contributing

Please read Contributing Guide for details on our code of conduct, and the process for submitting pull requests to us.


License

Trafico © Orhan Sönmez. Released under the Apache 2.0
Authored and maintained by Orhan Sönmez.

About

GitHub App built with Probot that automatically labels pull requests on certain conditions

License:Apache License 2.0


Languages

Language:JavaScript 100.0%