Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.09 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.09 KB

Probot Auto Labeler

Greenkeeper badge

A GitHub App built with probot that adds labels to Pull Requests based on matched commit patterns.

Using

Configure by creating a .github/autolabeler.yml file with a YAML file in the format of label: commit-pattern. Then add the Probot Auto Labeler Bot to your repository.

For example,

feature: ["feat", "ft"]
documentation: ["doc*"]
refactor: ["refactor"]

Then if a pull request is opened that has scripts/widget.js modified, then the frontend label will be added.

Issues with Bot

If you are having issues with the GitHub app not working, please open an issue.

Setup

# Install dependencies
npm install

# Run the bot
npm start

See docs/deploy.md if you would like to run your own instance of this plugin.