Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/danger/danger-mention

Danger plugin to automatically mention potential reviewers on pull requests
https://github.com/danger/danger-mention

danger danger-plugin

Last synced: 4 months ago
JSON representation

Danger plugin to automatically mention potential reviewers on pull requests

Lists

README

        

# Danger Mention

A [Danger](https://github.com/danger/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:

```rb
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.