Skip to content
user-check

GitHub Action

Auto random assignees

v1.0.1 Latest version

Auto random assignees

user-check

Auto random assignees

Automatically PR assign assignees from a list

Installation

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

              

- name: Auto random assignees

uses: gerardabello/auto-assign@v1.0.1

Learn more about this action in gerardabello/auto-assign

Choose a version

Auto assign github action

Randomly assigns a number of assignees to every PR from a pool.

Example worflow

name: 'Auto assign pull request'
on:
  pull_request:
    types: [opened, ready_for_review]

jobs:
  auto-assign:
    runs-on: ubuntu-latest
    steps:
      - uses: gerardabello/auto-assign@v1
        with:
          github-token: "${{ secrets.GITHUB_TOKEN }}"
          number-of-assignees: 2
          assignee-pool: |
            user1
            user2
            user3