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