From ca5f74f9024201e259dc565f6ab227a442ff4112 Mon Sep 17 00:00:00 2001 From: amazon-meaisiah Date: Wed, 11 Aug 2021 00:52:13 -0700 Subject: [PATCH] Work around ahmadnassri/action-dependabot-auto-merge#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 238b82323..a3f73fe59 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -1,11 +1,12 @@ name: auto-merge on: - pull_request: + pulll_request_target: branches: [ master ] jobs: auto-merge: + if: github.actor == 'dependabot[bot]' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2