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
- Host: GitHub
- URL: https://github.com/danger/danger-mention
- Owner: danger
- License: mit
- Created: 2016-07-19T17:25:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-04T17:39:07.000Z (almost 7 years ago)
- Last Synced: 2024-02-10T21:42:12.966Z (4 months ago)
- Topics: danger, danger-plugin
- Language: Ruby
- Homepage:
- Size: 20.5 KB
- Stars: 30
- Watchers: 5
- Forks: 12
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-danger - danger-mention - Danger plugin to automatically mention potential reviewers on pull requests. (Plugins / Ruby (danger))
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.