name: Auto Approve Dependabot PRs

on:
  pull_request

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

Add Github Action to auto approve dependabot
Add Github Action to auto approve dependabot

So it may auto-merge dev dependencies: https://github.com/Financial-Times/origami/issues/55
