mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-04-29 04:35:27 +08:00
51 lines
1.5 KiB
Markdown
51 lines
1.5 KiB
Markdown
---
|
|
title: Auto Assign
|
|
description: Add reviewers/assignees to pull requests when pull requests are opened.
|
|
slug: auto-assign
|
|
screenshots:
|
|
- https://github.com/kentaro-m/auto-assign/raw/master/public/assets/screenshots/screenshot.png
|
|
- https://github.com/kentaro-m/auto-assign/raw/master/public/assets/demo.gif
|
|
authors:
|
|
- kentaro-m
|
|
repository: kentaro-m/auto-assign
|
|
host: https://kentaro-m-auto-assign.glitch.me/
|
|
stars: 1
|
|
updated: 2018-08-11 12:46:28 UTC
|
|
installations: 5
|
|
organizations:
|
|
- ScottJWalter
|
|
---
|
|
|
|
## What it does
|
|
Auto Assign adds reviewers/assignees to pull requests when pull requests are opened.
|
|
|
|
## How it works
|
|
* When the pull request is opened, automatically add reviewers/assignees to the pull request.
|
|
* If the number of reviewers is specified, randomly add reviewers/assignees to the pull request.
|
|
* If the title of the pull request contains a specific keyword, do not add reviewers/assignees to the pull request.
|
|
|
|
## Usage
|
|
1. [Install the app](https://github.com/apps/auto-assign).
|
|
2. Create `.github/auto_assign.yml` in your repository.
|
|
|
|
```yaml
|
|
# Set to true to add reviewers to pull requests
|
|
addReviewers: true
|
|
|
|
# Set to true to add assignees to pull requests
|
|
addAssignees: true
|
|
|
|
# A list of reviewers to be added to pull requests (GitHub user name)
|
|
reviewers:
|
|
- reviewerA
|
|
- reviewerB
|
|
- reviewerC
|
|
|
|
# A number of reviewers added to the pull request
|
|
# Set 0 to add all the reviewers (default: 0)
|
|
numberOfReviewers: 0
|
|
|
|
# A list of keywords to be skipped the process that add reviewers if pull requests include it
|
|
# skipKeywords:
|
|
# - wip
|
|
``` |