From 2758f33043a7610fb935697c748f5c5e25e07f60 Mon Sep 17 00:00:00 2001 From: Srdjan S Date: Tue, 25 Feb 2025 14:52:50 +0100 Subject: [PATCH] Copy dependabot-auto-merge.yml script from core-fly --- .github/workflows/dependabot-auto-merge.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 33b3d156..5c3692ae 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -10,8 +10,9 @@ jobs: runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} steps: + - name: Authenticate cli with a PAT + run: echo "${{ secrets.DEPENDABOT_TOKEN }}" | gh auth login --with-token - name: Enable auto-merge for Dependabot PRs run: gh pr merge --auto --squash "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}