From 07dd30249bb92d82650f4270b6b2d94e16ead8bc Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Tue, 7 May 2024 21:13:10 -0400 Subject: [PATCH] Allow automerge to trigger actions --- .github/workflows/automerge.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index a963a52..68a0aee 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -11,6 +11,11 @@ jobs: runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} steps: + - name: Authenticate CLI with a PAT + env: + RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} + if: env.RELEASE_TOKEN != '' + run: echo "${RELEASE_TOKEN}" | gh auth login --with-token - name: Enable auto-merge for Dependabot PRs run: gh pr merge --auto --squash "$PR_URL" env: