Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
arrow-up-right

GitHub Action

Assignee to reviewer

v1.0.4

Assignee to reviewer

arrow-up-right

Assignee to reviewer

Automatically create review requests based on assignees

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Assignee to reviewer

uses: abinoda/assignee-to-reviewer-action@v1.0.4

Learn more about this action in abinoda/assignee-to-reviewer-action

Choose a version

Assign reviewers based on assignees

If your team currently uses pull request assignees but would like to switch to Review Requests, having everyone change their workflows can be difficult. This GitHub Action eases the transition by automatically creating and deleting review requests based on assignees. This may be particularly helpful when using a 3rd-party app like Pull Reminders that relies on review requests.

Usage

This Action subscribes to Pull request events which fire whenever users are assigned or unassigned to pull requests.

workflow "Assign reviewers based on assignees" {
  on = "pull_request"
  resolves = ["Assignee to reviewer"]
}

action "Assignee to reviewer" {
  uses = "pullreminders/assignee-to-reviewer-action@master"
  secrets = [
    "GITHUB_TOKEN"
  ]
}

Demo

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.