Skip to content
users

GitHub Action

Assign Reviewers to PR

release Latest version

Assign Reviewers to PR

users

Assign Reviewers to PR

GitHub Action to assign PR reviewers

Installation

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

              

- name: Assign Reviewers to PR

uses: itsOliverBott/assign-pr-reviewers@release

Learn more about this action in itsOliverBott/assign-pr-reviewers

Choose a version

🔥 Assign Assign Reviewers to PR

GitHub Action to assign PR reviewers based on list of comma-separated usernames

📋 GitHub Action Inputs

users - comma-separated list of GitHub usernames

users: "itsOliverBott, SantaClaus, b4tman, sp0derman"

ignore-drafts - boolean to ignore PR's in draft mode (defaults to false if not provided)

ignore-drafts: true

📋 Example YAML file configuration

name: "Assign Reviewers to PR"

on:  
  pull_request:
    types: [opened, ready_for_review, reopened, review_requested, review_request_removed]
     
jobs:
  assign-pr-reviewers:
    runs-on: ubuntu-latest
    steps:
    - name: "Assign Reviewers to PR"
      uses: itsOliverBott/assign-pr-reviewers@release
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        users: "itsOliverBott" # comma-separated (example: "itsOliverBott, SantaClaus, b4tman, sp0derman")
        ignore-drafts: true # defaults to false if not provided