diff --git a/.github/workflows/set_reviewers.yml b/.github/workflows/set_reviewers.yml new file mode 100644 index 0000000..b9031af --- /dev/null +++ b/.github/workflows/set_reviewers.yml @@ -0,0 +1,24 @@ +name: Set Reviewers + +on: + workflow_dispatch: + pull_request: + branches: + - main + +jobs: + set-reviewers: + if: github.repository_owner == 'viamrobotics' + runs-on: [self-hosted, x64] + container: + image: ghcr.io/viamrobotics/canon:amd64 + steps: + - uses: actions/checkout@v3 + - uses: https://github.com/pleo-io/assign-random-codeowners + with: + reviewers-to-assign: 2 + assign-individuals-from-teams: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +