From 9c9c27b0986842d722749b804c76932ad1987e1b Mon Sep 17 00:00:00 2001 From: Robin van Poppel Date: Sat, 9 May 2020 12:37:40 +0200 Subject: [PATCH] Approve when PR is created by dependabot preview. Build should still pass for it to succeed. (#153) --- .github/workflows/pull-request-automation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-automation.yml b/.github/workflows/pull-request-automation.yml index c094d69..1ba7766 100644 --- a/.github/workflows/pull-request-automation.yml +++ b/.github/workflows/pull-request-automation.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Approve pull request - if: github.actor == 'dependabot[bot]' + if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' uses: andrewmusgrave/automatic-pull-request-review@0.0.2 with: repo-token: '${{ secrets.GITHUB_TOKEN }}'