From e33485b0ab849c8c1ccbd1a49194e19a6b080182 Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Tue, 7 May 2024 21:08:08 -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..27153c2 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: