# Automatically assigns the author as a reviewer to opened PRs and issues
name: 💡 Auto-Assign Author to PR
on:
  pull_request:
    types: [opened]
  issues:
    types: [opened]
jobs:
  assign-author:
    runs-on: ubuntu-latest
    steps:
      - name: Assign author
        uses: technote-space/assign-author@v1
        GITHUB_TOKEN: ${{secrets.BOT_GITHUB_TOKEN}}