name: 'Auto Assign PR'

on:
  pull_request:

jobs:
  add-reviews:
    runs-on: ubuntu-latest
    steps:
      - uses: kentaro-m/auto-assign-action@v1.1.2
        with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"

name: 'Auto Assign PR'

on: pull_request_target

jobs:
  add-reviews:
    runs-on: ubuntu-latest
    steps:
      - uses: kentaro-m/auto-assign-action@v1.1.1
        with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"

Fix permissions for assign PR action.
Fix permissions for assign PR action.
