Auto assign reviewers when PR is ready for review (#3006)

The workflow that we are using for auto-assigning reviewers to a PR did
not cover the event when a draft PR is marked as ready for review. This
change adds the `ready_for_review` activity type to the list of types to
use for triggering the workflow.

This change also fixes a typo in one of the other listed types
(`synchronize`).
See the [docs for more information](https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#pull_request_target).

Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
pull/3018/head
Bridget McErlean 2020-10-13 19:06:47 -04:00 committed by GitHub
parent 704bf01fab
commit 60905d36c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ name: 'Auto Assign PR Reviewers'
# This should mean PRs from forks are supported.
on:
pull_request_target:
types: [opened, reopened, sychronized]
types: [opened, reopened, synchronize, ready_for_review]
jobs: