From ece6295b826005511a0a6d53b7b030069f2447e9 Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Mon, 2 Jan 2023 13:53:23 +0100 Subject: [PATCH] Update automerge config (#893) --- .github/workflows/auto-merge.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index a69a68e..fd143c4 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -1,16 +1,13 @@ -name: auto-merge +name: 'Merge Dependencies' -on: - pull_request: +on: [pull_request_target] jobs: auto-merge: runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' steps: - uses: actions/checkout@v2 - - uses: ahmadnassri/action-dependabot-auto-merge@v2 + uses: ahmadnassri/action-dependabot-auto-merge@v2.6.6 with: - github-token: ${{ secrets.AUTOMERGE_TOKEN }} - # Merge all updates as long as they pass CI. - # Includes minor and patch updates. - update_type: "semver:major" + github-token: ${{ secrets.AUTOMERGE_TOKEN }} \ No newline at end of file