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