From 26b39ed245ab8f31526069329e112ab2fb224588 Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Thu, 8 Dec 2022 12:15:34 +0900 Subject: [PATCH] Update workflow --- .github/workflows/automerge-dependabot.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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