name: pr-assign-author

permissions:
  contents: read

on:
  pull_request_target:
    types:
      - opened
      - reopened

jobs:
  run:
    uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@bbd31df64ee0f097a02f12495f541f9236f18c46 # v1.2.0
    permissions:
      contents: read
      pull-requests: write
