Skip to content

chore: trigger

chore: trigger #2

Workflow file for this run

name: Assign Random Reviewer
on:
pull_request:
types: [opened, reopened, ready_for_review]
push:
jobs:
assign_reviewer:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: Install Dependencies
run: yarn install @octokit/core
- name: Assign Reviewer
run: node .github/scripts/randomReviewer.js
env:
GITHUB_OWNER: ${{ github.repository_owner }}
GITHUB_REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}