Skip to content

feat: 11월24일 광고 구좌 변경 #416

feat: 11월24일 광고 구좌 변경

feat: 11월24일 광고 구좌 변경 #416

name: Assign Random Reviewer
on:
pull_request:
types: [opened, reopened, ready_for_review]
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: 20
- uses: jwalton/gh-find-current-pr@v1
id: findPr
with:
state: open
- name: Assign Reviewer
run: node .github/actions/randomReviewer.js
if: success() && steps.findPr.outputs.number
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ steps.findPr.outputs.number }}