From cf868f9062e1382e460fdcc6588caba664e9878d Mon Sep 17 00:00:00 2001 From: Jaspar S Date: Wed, 6 Sep 2023 13:36:44 +0200 Subject: [PATCH] Fix: Use Greenbone Bot token for dependabot auto-merge (#874) --- .github/workflows/dependabot-merge.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependabot-merge.yml b/.github/workflows/dependabot-merge.yml index 81677295..7f54d934 100644 --- a/.github/workflows/dependabot-merge.yml +++ b/.github/workflows/dependabot-merge.yml @@ -20,9 +20,9 @@ jobs: run: gh pr merge --auto --squash "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{secrets.GREENBONE_BOT_TOKEN}} - name: Approve a PR run: gh pr review --approve "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{secrets.GREENBONE_BOT_TOKEN}}