Skip to content

Assign PR Reviewer #608

Assign PR Reviewer

Assign PR Reviewer #608

name: Assign PR Reviewer
on:
pull_request_review:
types: [submitted]
paths:
- 'src/helpers/assign-pr-reviewers.ts'
jobs:
test:
if: github.event.review.state == 'approved'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./
with:
helper: assign-pr-reviewers
login: ${{ github.event.review.user.login }}
github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} # must have read:org permission