A GitHub App built with probot that adds labels to Pull Requests based on matched commit patterns.
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.
If you are having issues with the GitHub app not working, please open an issue.
# 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.