name: Auto approve

on:
  pull_request_target

jobs:
  auto-approve:
    runs-on: ubuntu-20.04
    steps:
      - uses: hmarr/auto-approve-action@v3.2.1
        if: github.actor == 'eikek-scala-steward'
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}