From 4ac246ebb69c2122600d07b417be40abf10449b3 Mon Sep 17 00:00:00 2001 From: Preston Date: Thu, 19 Aug 2021 22:50:54 -0400 Subject: [PATCH] Update autoMerge.yml --- .github/workflows/autoMerge.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autoMerge.yml b/.github/workflows/autoMerge.yml index edf3e03f..59c228de 100644 --- a/.github/workflows/autoMerge.yml +++ b/.github/workflows/autoMerge.yml @@ -16,9 +16,8 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Enable Auto Merge + env: + GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }} run: | - echo ${{ secrets.PUSH_TOKEN }} >> auth.txt - ls -l - gh auth login --with-token < ./auth.txt - rm auth.txt + gh auth login --with-token gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto