Categorygithub.com/cam3ron2/pr-auto-assign
repositorypackage
1.0.6
Repository: https://github.com/cam3ron2/pr-auto-assign.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

PR Auto Assign

codeql tests build downloads License Language Go Report Card

A Github action that will automatically assign a PR to its creator, and assign review to specified users, teams, or a combination of both.

Usage

name: Auto Assign
on: [pull_request]

env:
  GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

jobs:
  auto_assign:
    name: Auto Assign PR
    runs-on: ubuntu-latest
    steps:
      - name: Checkout the repository
        uses: actions/checkout@v3
      - uses: cam3ron2/pr-auto-assign@latest
        with:
          reviewers: "MyOrg/some-people,myUsername,someOtherUser"

Required Enviroment Variables

  • GITHUB_TOKEN: A Github personal access token that can update the assignee and reviewers of a PR.

Inputs

  • reviewers: A comma separated list of users, teams, or both to assign as reviewers.