diff --git a/.github/workflows/automerge-dependabot.yml b/.github/workflows/automerge-dependabot.yml index 6fcc3aef..9ace0a30 100644 --- a/.github/workflows/automerge-dependabot.yml +++ b/.github/workflows/automerge-dependabot.yml @@ -1,10 +1,6 @@ name: Auto-merge Dependabot on: pull_request -permissions: - pull-requests: write - contents: write - jobs: automerge: runs-on: ubuntu-latest @@ -12,6 +8,6 @@ jobs: steps: - uses: peter-evans/enable-pull-request-automerge@v2 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.DEPENDABOT_AUTOMERGE }} pull-request-number: ${{ github.event.pull_request.number }} merge-method: squash