From 28d35b47a23a907240b6ed08e3fb14ac33a45732 Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Wed, 22 Jun 2022 23:07:21 -0700 Subject: [PATCH] Update auto-merge.yml Work around https://github.com/ahmadnassri/action-dependabot-auto-merge/issues/60 --- .github/workflows/auto-merge.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 900a5e58e..6708adcea 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -1,12 +1,13 @@ name: auto-merge on: - pull_request: + pull_request_target: branches: [ next ] jobs: auto-merge: runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' steps: - uses: actions/checkout@v3 - uses: ahmadnassri/action-dependabot-auto-merge@v2