danger / danger-mention

Danger plugin to automatically mention potential reviewers on pull requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Danger Mention

A Danger plugin to automatically mention potential reviewers on pull requests on GitHub and GitLab.

Note: This plugin uses the web-scraping of GitHub.com and GitLab to detect the authors to find potential reviewers. This might cause the plugin to break if either of those pages introduce design changes.

Installation

$ gem install danger-mention

Usage

The easiest way to use is just add this to your Dangerfile:

mention.run
Running plugin with reviewers count specified
# Find maximum two reviewers
mention.run(2, [], [])
Running plugin with some files blacklisted
# Find reviewers without parsing blame information
# from files matching to 'Pods/*'
mention.run(2, ["Pods/*"], [])
Running plugin with some users blacklisted
# Find reviewers ignoring users 'wojteklu' and 'danger'
mention.run(2, [], ["wojteklu", "danger"])

License

This project is licensed under the terms of the MIT license. See the LICENSE file.

About

Danger plugin to automatically mention potential reviewers on pull requests

License:MIT License


Languages

Language:Ruby 100.0%