Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

VantaInc/auto-assign-review-teams

 
 

Repository files navigation

Auto Assign Review Teams

  • Assign individual persons or member of GitHub Teams
  • Team Assignment Works best, if code review assignment for the team is enabled
  • Assign individual person from list of persons or first Github Team in the list if pick-one-from-persons-or-team flag is true

Example Usage

name: "Assign Reviewers"
on:
  pull_request:
    types: [opened, ready_for_review]

jobs:
  assign-reviewers:
    runs-on: ubuntu-latest
    steps:
      - name: "Assign Team and Persons"
        uses: rowi1de/[email protected]
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          org: "github-org"
          teams: "gitub-org-team" # only works for GitHub Organisation/Teams
          persons: "rowi1de" # add individual persons here
          include-draft: false # Draft PRs will be skipped (default: false)
          skip-with-manual-reviewers: 0 # Skip this action, if the number of reviwers was already assigned (default: 0)
          pick-one-from-persons-or-team: true # Will pick out one reviewer from persons and/or the first Github team (default: false)

About

GitHub Action to Assign Review Teams

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.9%
  • TypeScript 3.1%