Skip to content

Add labels to Pull Requests based on matched commit patterns

License

Notifications You must be signed in to change notification settings

explaura/autolabeler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Add labels to Pull Requests based on matched commit patterns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%