Skip to content

Add labels to Pull Requests based on matched file patterns

License

Notifications You must be signed in to change notification settings

fhambrec/autolabeler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Probot Auto Labeler

Greenkeeper badge

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

Using

Configure by creating a .github/autolabeler.yml file with a yaml file in the format of label: file/path.

For example,

frontend: ["*.js", "*.css", "*.html"]
backend: ["/app", "*.rb"]
legal: ["LICENSE*", "NOTICES*"]
config: .github

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

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 file patterns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%