name: Auto approve copybara-service PRs

on:
  pull_request

jobs:
  auto-approve:
    runs-on: ubuntu-latest
    steps:
    - uses: hmarr/auto-approve-action@v2.0.0
      if: github.actor == 'copybara-service' || github.actor == 'copybara-service[bot]'
      with:
        github-token: "${{ secrets.GITHUB_TOKEN }}"